[error]self signed certificate in certificate chain

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
  • Scanner command used when applicable (private details masked)
  • Languages of the repository
  • Only if the SonarCloud project is public, the URL
    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
  • Steps to reproduce
  • Potential workaround

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

While running the on sonarcloud prepared analysis task on the azure pipeline getting the error [error]self signed certificate in certificate chain.

Summary

This text will be hidden

Hi,

Welcome to the community!

Can we get the full analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

Hi,

It looks like this error occurred before analysis itself ever starts. It seems to be in downloading the scanner. Configuring self-hosted build agents is a bit beyond our scope, but here’s what my web search found:

 
HTH,
Ann