I have SonarQube 6.2 installed and and want to configure it to use https. All instructions I have seen thus far, regarding this, suggest that 5.2 seems the last version to support https. Does SonarQube 6.2 support https? The instructions I'm referring to can be found here: https://docs.sonarqube.org/display/SONARQUBE52/Running+SonarQube+Over+HTTPS
If https is supported in 6.2 - I have not been able to find any instructions in the installation instructions.
To run the SonarQube server over HTTPS, you must build a standard reverse proxy infrastructure. The reverse proxy must be configured to set the value X_FORWARDED_PROTO: https in each HTTP request header. Without this property, redirection initiated by the SonarQube server will fall back on HTTP.
In the extracted folder navigate to Conf folder, edit sonar. properties file to change the default web port or you may need available port. By default SonarQube uses port 9000. Make sure to assign an available port for SonarQube, you may need to use the netstat command to check the currently in use ports.
In 5.4 the native support for HTTPS was dropped. See the 5.4 Upgrade notes.
As replacement they now advise to use a reverse proxy (as stated in the upgrade notes). The current docs (6.3) are here and explain on how to use either Apache, Nginx or IIS as the reverse proxy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With