Hello,
I'm running an nginx reverse proxy before SonarQube server that's listening on both HTTP and HTTPS and forwarding to SonarQube listening on 8081 via HTTP.
I can't get sonar-scanner to work when using https URL in sonar.host.url property. Switching to HTTP makes it work (but I'd like to disable HTTP but switching it to a redirect to HTTPS)
This is odd. I use the same configuration. I use ARR to add a permanent redirect from http to https, but my scanner points directly at the https endpoint. I've got no issues.
No, but I used a cert issued by an internal certificate authority which I added to the java keystore.
It's not sonar specific. Just google, add certificate to java keystore.