ARTIFACTORY: How to resolve the “x509 unknown authority” certificate issues while accessing the JFrog SaaS instances

ARTIFACTORY: How to resolve the “x509 unknown authority” certificate issues while accessing the JFrog SaaS instances

AuthorFullName__c
Sandeep Anikapati
articleNumber
000006028
ft:sourceType
Salesforce
FirstPublishedDate
2024-02-05T14:55:35Z
lastModifiedDate
2024-02-05
VersionNumber
1

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 authority
To 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