The default password for the Java 'cacerts' keystore is 'changeit'.

Best regards,
--
Carlos M. Fernández
Sr. Enterprise Systems Admin
Saint Joseph's University
W: 610-660-1501
M: 215-316-1193
E: [email protected]

On Oct 25, 2012, at 19:42, "Jonathan" <[email protected]> wrote:

> 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

-- 
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

Reply via email to