This article will help you resolve the "x509 unknown authority" certificate issues while accessing JFrog SaaS instances.
When you attempt to perform any actions against an Artifactory Cloud instance and receive the error shown below. This is because the client does not trust the certificate of Artifactory instance. You need to get the certificate for the Artifactory Cloud instance and import it into the appropriate Build server / JFrog CLI.
x509: certificate signed by unknown authorityTo obtain the certificate for the Artifactory Cloud instance. Run the below openssl command with the servername and URL.
openssl s_client -showcerts -connect <servername>.jfrog.io:443 -servername <servername>.jfrog.io