Skip to content

9.2.0

Latest
Compare
Choose a tag to compare
@SonarTech SonarTech released this 19 Feb 09:48
376f225

Version 9.2 introduces support for self-signed server certificates files. You can now instruct the scanner to trust custom root certificates or self-signed server certificates when contacting your SonarQube Server. You can set the sonar.scanner.truststorePath and sonar.scanner.truststorePassword properties in the begin step like so:

dotnet-sonarscanner begin /key:your-project-key /d:sonar.host.url="https://localhost" /d:sonar.scanner.truststorePath="Self-Signed.pfx" /d:sonar.scanner.truststorePassword=changeit

This feature implements the following tickets:

  • SCAN4NET-206 - Read sonar.scanner.truststorePath and sonar.scanner.truststorePassword in the begin step

  • SCAN4NET-207 - Map sonar.scanner.truststorePath & sonar.scanner.truststorePassword

  • SCAN4NET-209 - Implement ServerCertificateCustomValidationCallback to validate certificate against the given sonar.scanner.truststorePath