Page 1 of 1

Certificate not recognized

Posted: Fri May 19, 2017 3:36 pm
by Roman Kubascik
Hello,

LSPS Cloud edition uses HTTPS for communication between PDS and the server. Our certificate was signed by the Certification Authority Let's Encrypt.

If you get error message (in the Error Log View of your PDS):
Code: Select all
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

it means, your Java doesn't know this authority yet.
You can solve this problem by:
* upgrading to Java 7 >= 7u111 or Java 8 >= 8u101 and modifying lsps-design_64.ini to use it, or
* Register missing certificate:
Code: Select all
keytool -import -file "d:\dst-root-ca-x3.pem" -keystore "c:\Program Files\Java\jdk1.7.0_79\jre\lib\security\cacerts" -alias "letsencryptauthorityx" -storepass changeit -noprompt -trustcacerts


Regards,
Roman