ssl error

General support questions
Post Reply
parkarnoor
Posts: 16
Joined: 2011/09/30 18:31:18

ssl error

Post by parkarnoor » 2021/04/18 10:58:37

hello all,
i am running an application with https://ip:port/

i am getting this error.

Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://sitename/sms": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is 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

i am trying to install the pem certificate give by external CA into java keystore.

cd /etc/pki/ca-trust/extracted/java
#sudo keytool -import -trustcacerts -keystore cacerts -storepass -noprompt -alias aliasname.pem -file filename.pem

but still error appears.

Post Reply