Configuring Prepare Analysis Configuration task in Azure DevOps with self-signed certificate

Hello,

I am trying to configure “Prepare Analysis Configuration” against one of our sonarqube severs that uses a certificate signed by our own CA. I have added the certificate to the java cacerts in the agent, but the following error is thrown:

[SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“DEPTH_ZERO_SELF_SIGNED_CERT”}

What actions / properties need to be done to configure the task against a Sonarqube server that uses a certificate signed by our own CA.

Regards!

1 Like

Bro just want to check if you could able to resolve the issue as I am facing same error while accessing this via SSL.

Thanks in advance for your valueable advice in this regard.

Hi, from the error code it appear that you added to your cacerts the certificate only, not the full chain.