cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to resolve FlexNet License Server Manager error “PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException”

How to resolve FlexNet License Server Manager error “PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException”

Symptoms:

After turning on HTTPS connection in FlexNet License Server Manager(FLSM) and trying to access the Devices or Reservations tab from the menu, the screen shows error : "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException".

SPraveen_3-1608790678511.png

 

Diagnosis:

The given error suggests that Java does not trust the certificate hence FLSM fails to connect to the server application (Local License Server).

 

Solution:

 To resolve this, add the server side certificate to the Java truststore on the system where FLSM application is running.

Below is the sample command that will help to add the required certificate to Java truststore:

=>Export alias certificate from the keystore
keytool -export -alias [alias_name] -keystore keystore.jks -rfc -file server_cert.certs

=>Import certificate to the java trust store on which application is running.
keytool -import -trustcacerts -keystore [java_path]/lib/security/cacerts -storepass [password] -alias [alias_name] -import -file server_cert.certs

 

Once the required certificate is imported to the Java truststore, https connection should be successful to the Local License Server from FLSM application.

 

 

Labels (2)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 24, 2020 12:20 AM
Updated by:
Contributors