Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to connect to JFrog repository



Error occurs when saving a rule with JFrog HostID, Repository key, and Authentication profile.

Error Messages

Could not connect to repository

Steps to Reproduce

  1. Create a Repository rule.
  2. Configure the Repository type as JFrog.
  3. Enter the HostID, Repository Key, and Authentication Profile.
  4. Click Save to create the rule.

Root Cause

A defect or configuration issue in the operating environment.
The JFrog Repository used an HTTPS URL and the SSL certificates were not added to the Java Store of the Pega Server.


Perform the following local-change:

For the Java Runtime Environment (JRE) to trust the certificate, perform the below steps to import the certificate to the JRE Certificate store:
  1. Browse to the JFrog Repository using SSL. The browser informs the user that the certificate is not trusted and allows the user to trust it, thereby placing it in the browser Certificate store. The browser has a Certificate Manager that allows the user to export or back up specific certificates to binary files.
  2. In the Firefox browser, navigate to Preferences > Advanced > Encryption > Servers.
  3. Locate the certificate presented by the server and export it as a binary DER file.
  4. Ensure to have Write access to Pega Server's JRE and use the KeyTool utility to import it using the following command:

    keytool -import -alias alias -keystore path-to-jre/lib/security/cacerts -file path-to-certificate-file

    The user is prompted for the Keystore password which is by default 'changeit'.
    Additionally, when the user connects to the server, the user must use the same name as the one set in the Subject in the certificate. The user must add it to the host file if the server is not reachable using this name, which may be the case for a Developer server.

Published December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us