I am using the CAS protocol /cas/validate and getting SSL errors. I think it is
due to being the certificate self generated.
Exception in thread "main" 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
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
So I tried to import the certificate using keytool but I am getting the error
below.
> keytool -import -noprompt -trustcacerts -keystore cacerts -file 142.der
> -alias incommon
keytool error: java.io.IOException: Keystore was tampered with, or password was
incorrect
I don't remember setting the password to the keystore. How can I get around
this?
Thanks
Jonathan
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user