We need to implement the SSL encryption for AWS RDS PostgreSQL DB instances of SonarQube

Must-share information (formatted with Markdown):

which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - SonarQube Server version v2025.4.2

how is SonarQube deployed: zip, Docker, Helm - running on EKS node
Installed via Helm Chart

what are you trying to achieve - Trying to enable SSl encryption for the RDS being used for SonarQube

what have you tried so far to achieve this - Need to know once we implement the SSL value as true in DB
rds.force_ssl=1 (current config is rds.force_ssl=0), do we need to update our JDBC url in sonar.properties
something like this - sonar.jdbc.url=jdbc:postgresql://:5432/<database_name>?sslmode=require&ssl=true

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Yes, you should update your JDBC URL in sonar.properties to include ?sslmode=require (e.g., sonar.jdbc.url=jdbc:postgresql://your-rds-endpoint:5432/yourdatabase?sslmode=require) when enabling RDS SSL. ssl=true is redundant if sslmode=require is set.

Thanks, let me try this

We are using helm to deploy SonarQube. Is there any value which we need to include in our helm values file to implement that change.

Hi,

The docs should help.

 
Ann

I checked my Helm file> I hope the below way should work

jdbc:postgresql://rdsname:portnumber/bc_shrd_0022_shr_01?socketTimeout=1500**&sslmode=require"**