cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Accessing Integrity from the client

jhm
13-Aquamarine
13-Aquamarine

Accessing Integrity from the client

Error connecting to magnalm-prd.ptcmscloud.com:7001: javax.net.ssl.SSLHandshakeException: General SSLEngine problem: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target,

Any help with this would be appreciated 

4 REPLIES 4
awalsh
17-Peridot
(To:jhm)

This error usually means that the Integrity Client does not have the server CA certificate imported. 

 

You need to copy the certificate to the Integrity Client then import it into the Java keystore. 

 

  1. Copy the <certName>.pem file to the <ClientInstall>\jre\bin directory on the Integrity Client machine
  2. Execute the following command to import the certificate into the Java keystore on the Integrity Client machine:
    • keytool -import -alias <alias> -file <certName>.pem -keystore "<ClientInstall>\jre\lib\security\cacerts"
    • ***Note*** The alias option was set during the time of creating the server certificate

 

Article 141335 has more details.

jhm
13-Aquamarine
13-Aquamarine
(To:awalsh)

Thanks for the help.

 

I did what the Article said

and I get this error...    keytool error: java.lang.Exception: Input not an X.509 certificate

 

apawar
15-Moonstone
(To:jhm)

it seems some details from command is not correct like alias, keystore which has been used while creating certificate or certificate format.

 

Please refer the article CS147810.

jhm
13-Aquamarine
13-Aquamarine
(To:apawar)

Yes, Thank you

That was the issue

 

Announcements


Top Tags