Certificate Support in .NET Scanners

Hi .NET Folks

We’ve recently updated SonarScanner for .NET and SonarScanner for Azure DevOps for SonarQube to provide better support for certificates.

  • SonarScanner for .NET now has 2 new parameters that support client certificates in SonarQube: sonar.clientcert.path and and sonar.clientcert.password. Set sonar.clientcert.path in the begin step and sonar.clientcert.password in the begin and end step.

  • SonarScanner for Azure DevOps for SonarQube now has a new version 5 that resolves the issues caused by the LetsEncrypt Root Expiration issues by requiring a later version of NodeJS. This change makes it incompatible with TFS2017/2018 in which case you should specify version 4 of the task. This new version also encompases the new build of SonarScanner for .NET

Both of these are available now and SonarQube documentation will be updated in the upcoming 9.2 release.

That’s all for now, hold tight for news on .NET 6 and C# 10 support soon!


1 Like