Trusting a Self-Signed Certificate or a New CA
To trust a new certificate, add the certificate to the
$JFROG_HOME/<product>/var/etc/security/keys/trusted directory of every service that needs to trust it.
Alternatively, you an also add the certificate to each application's KeyStore. For example, to add a certificate into the JFrog Artifactory KeyStore, you can add it directly to the host's JVM's trusted KeyStore.
For HA setup, you need to add the certificate to every node's trusted directory or KeyStore. The Certificates are not propagated between HA nodes automatically.
Trusting a Self-Signed Certificate in Xray Instances/Nodes
When an Xray instance/node is configured to go through an SSL proxy that uses a self-signed certificate, you may encounter the following issue when performing tasks such as an online database sync:
- To overcome this issue, you will need to import the Proxy certificate into each Xray instance/pod by placing it under the following path within the Xray machine/container/pods:
- Next, you will need to restart Xray.
The path shown above is the default directory used by Go applications (such as Xray) when importing SSL certificates.
Downloading a Certificate
To download/acquire the certificate(s) of the SSL secured server, use the following command: