ARTIFACTORY: How to add custom SSL certificates to an Artifactory pod using Helm charts

ARTIFACTORY: How to add custom SSL certificates to an Artifactory pod using Helm charts

AuthorFullName__c
Shisiya Sebastian
articleNumber
000005905
ft:sourceType
Salesforce
FirstPublishedDate
2023-11-08T18:12:05Z
lastModifiedDate
2023-11-06
VersionNumber
1

This article will guide you to use Helm charts to add custom SSL certificates to trusted CA certificates in a Kubernetes pod. In some cases, while connecting to external URLs from Artifactory, it may give SSL certificate errors. This can be mainly because of a self signed certificate or because of the error “x509 certificate signed by unknown authority”. The issue was mainly found while using custom webhook URLs in an Artifactory. You will have to add the certificates to the respective container to fix the issue.

For errors like “PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target” in the Artifactory logs, you have to add the certificate to the JAVA keystore of the Artifactory. Please refer to the article here for such issues.