Click on the “Configuration” tab and select the “Encryption” option. This will take you to the encryption settings page.
Alternatively, you can directly access the encryption page directly on: <you_sonar_server>/admin/settings/encryption.
Once you’re on the encryption settings page, you need to generate a secret key and then proceed with the provided instructions.
@felipebz Thanks for reply.
I already tried with that option before raise the ticket , unfortunately the view like the below, please provide the fix, ( open URL in the MS edge and chrome as well)
The message displayed on this page is crystal clear:
Secret key is required to be able to encrypt properties
In addition, there is a button to generate the secret key. When you click on the “Generate Secret Key” button, a prompt similar to the following appears:
The prompt also provides detailed instructions on how to correctly configure the secret key on your SonarQube instance.
You can find these instructions on the page where you found the initial screenshot:
“Security” > “Generate the secret key” from the SonarQube docs"
I highly recommend carefully reading the documentation provided. It contains valuable information and step-by-step instructions to assist you.
@felipebz for the in detail message.
Now able to encrypt the password and able to connect DB and AD with encrypted passwords.
and other ticket also helped for troubleshoot the subsequent problems
We had a similar report internally and ultimately the slashes had to be escaped when defining sonar.secretKeyPath.
So in your case:
The default location for the sonar-secret.txt file is
refers to the user directory. As in /Users/myuser or /home/myuser or C:\Users\myuser . Putting sonar-secret.txt in C:\Users\User\.sonar works. If the s…
Once again special thanks to you and your team.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.