2)Navigate to the above mentioned path using the command line to execute the
following command to add a certificate to application server keystore:
Command:
Example:
keytool -import –alias hdfc -trustcacerts -file hdfc.cer -keystore cacert.jksThe certificate will be added and exceptions like:
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
will not occur
0 comments:
Post a Comment