Support Windows cert store like dotnet-sonarscanner does now

In SonarScanner for .NET 9.2.1 support for Windows certificate stores was added:

https://sonarsource.atlassian.net/browse/SCAN4NET-227

Currently, to make connected mode work with self-signed certificates, manual actions are required as documented here:

Please support the Windows certificate store out of the box.

Since the workaround is adding a cert to a Java key store, javax.net.ssl.trustStoreType=Windows-ROOT should be possible too I suppose?

  • Operating system: Win10
  • Visual Studio version: VS 2022
  • SonarQube for Visual Studio plugin version: 8.12.0.12239
  • Programming language you’re coding in: C#
  • Is connected mode used:
    • SonarQube Community Build

Hello,
Thanks for reaching out. We understand your problem here, and we feel it’s a common issue we need to address. I have added your need to our internal system so that we can consider it when prioritizing.
Best regards,
Farah

1 Like