Hi all,
We have just started encountering the same issue in a number of azure devops pipelines running on a mix of windows and linux agents and this is stopping us from running sonarqube.
Its consistently failing on “- task: SonarQubePrepare@4” and the error is “##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“CERT_HAS_EXPIRED”}”.
We added some tests into the pipeline to verify the certificate chain using openssl and curl both of which come back without error, we also made an https request to the URL in question and it returns without error.
So given this actually works under our test scenario but not using the task we are a little stumped about how to resolve? Cant see the source control for the task online so hard to troubleshoot what its doing under the hood.
Our servers are configured using letsencrypt certificates and a change was made to their production root certificates on september 30th, havent seen anything from our testing to indicate its a cause but will keep in mind in case there is some caching going on with the old root → DST Root CA X3 Expiration (September 2021) - Let's Encrypt