Please provide
- Operating system: win10
- SonarLint plugin version: v4.4.2
- Programming language you’re coding in: C
- Is connected mode used: yes, but tls certificate check fails
- Connected to SonarCloud or SonarQube (and which version): sonarcube 10.3
And a thorough description of the problem / question:
When I try to activate the connection to sonarcube server, I enter the https://codescan.xyz.com and press generate token-button. Then I get a popup “SonarLint found untrusted server’s certificate”. Dialog shows validity period incorrectly, valid from date is the expiration date and valid to is the issued on date. If I press “trust” button, I am able to connect to the server.
If I go to the same web server https://codescan.xyz.com with Chrome browser, it accepts the certificate normally and I am able to login. When I review the certificate in Chrome, it is trusted, I see the same fingerprint and issued on/expires on dates are the same as above but are in correct order.
It appears to me the certificate is correct but sonarlint interprets the cert incorrectly. Any advice?