'javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path' error when testing a RESTful Web Service AFX Connector in RSA Identity Governance & Lifecycle
Originally Published: 2020-04-10
Last Modified: 2023-10-06
Article Number
Applies To
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
Issue
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path.
- Connector in a Running state:
- Output from a test of the connector:
- Accessing the same URL via a REST/SOAP tool has no issues:
Cause
Resolution
- Launch Firefox.
- Open the URL being accessed by the AFX RESTful web service connector.
- In the left-hand corner, click on the lock icon or the Info button to see the certificate issuer.
- Click the > at the right for more details.
- Click the More Information button.
- Click View Certificate.
- Scroll down until you see the Download option:
PEM (cert) PEM (chain)
- Click on PEM (cert) to download the certificate in PEM format.
- Import the certificate to the JVM cacert as the root user:
keytool -importcert -alias startssl -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -file <path to the cert saved in step 7a>
- After importing the certificate, restart the AFX server as the afx user:
afx stop afx start
Related Articles
Using Passage 3.2 for certificate based authentication; ERROR: MAP_API_FILE_ERROR Major: MAP -339 11Number of Views RSA Identity Governance & Lifecycle Access Fulfillment Express (AFX) failure java.lang.NoClassDefFoundError: sun/net/www/p… 86Number of Views RSA Authentication Agent for Web: IIS Authentication Test Fails Due to Node Secret Mismatch with RSA Authentication Manager 568Number of Views AFX Connectors remain in a Deployed state and ActiveMQ is not running in RSA Identity Governance & Lifecycle 467Number of Views Collector or AFX Connector or JSP or Collector or Connector TEST fails with "PKIX path building failed" in RSA Governance … 492Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme AFX Server and Remote Collection Agents fail to start after updating Java to version 1.8u241 (1.8.0_241) / 1.7u251 (1.7.0_… RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager 8.9 Setup and Configuration Guide
Don't see what you're looking for?