Could not establish trust relationship for the SSL/TLS secure channel

  • Operating system: Windows 10 Pro
  • Visual Studio version: Microsoft Visual Studio Professional 2022 (64-bit) Version 17.9.4
  • SonarLint plugin version: 7.8.0.88494
  • Programming language you’re coding in: C++
  • Is connected mode used: Trying to set it up
  • SonarQube version: 10.4 (build 87286)

I am trying to setup Connected Mode and I get the following error message:
[ThreadId 163] SonarQube request failed: An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

This is the output from the Visual Studio output:
New Text Document.txt (10.6 KB)

The SonarQube server has a valid certificate, not self-signed.
It’s located behind a nginx reverse proxy which redirects the http 9000 port to the https 443.

The same exact request works just fine through Postman:

Hey @aroubies

SLVS should use the Windows certificates store when connecting. Could you check that the certificate is trusted by the OS itself to eliminate the possibility of it being only trusted by the browser?

Thanks for the response @georgii.borovinskikh
Turns out that using Edge or Chrome to browse to the SonarQube server produces a similar error, that the site is not secure.
I am now trying to resolve the issue with our IT department,
thanks for pointing me to the proper direction.