Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 576 Bytes

README.ssl-certs.md

File metadata and controls

19 lines (14 loc) · 576 Bytes

SSL Certificate generation for SonarQube server.

Generate Private Key.

openssl genrsa -out sonarqube.mydomain.com.key 4096

Generate CSR.

openssl req -new -key sonarqube.mydomain.com.key -out sonarqube.mydomain.com.csr

Now use this CSR file to buy the SSL certificates from CA Or create self-signed.

openssl x509 -in  sonarqube.mydomain.com.csr -out  sonarqube.mydomain.com.crt -req -signkey  sonarqube.mydomain.com.key -days 365

Once done copy these certificates to certs directory ( configs/certs ) before running container.