java - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: even i have created the certificate -


am getting below exception.

javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: pkix path building failed:

i installed certificates in below 2 ways.

  1. using installcert.java "domain.com"
  2. using keytool - import.

but still getting above ssl handshake exception application.

is there need add tomcat also?

please me. working on past 2 days. in advance.

thanks, harsha.

check if certificate in manage trusted root certificates. if click on certificate , not secure, need add manage trusted root certificates.

then if using eclipse or similar work, need put jsscacert file(made installcert.java) %java_home%\jdk_version\jre\lib\security , add in path of eclipse

-djavax.net.ssl.truststore="path_to_jssecacerts"


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -