Hi all,

I am implementing the CAS client in host A to call CAS server in host B. I
got certificate from host B (server.cert) with common name (CN),
"localhost", but the host B is xxx.yyy.com . As I create keystore from the
certificate I got from host B, I can not call CAS server in host B and get
error message:

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 think the CN in certificate should be "xxx.yyy.com" instead of
"localhost".

If I have right understanding, can any one tell me how to change CN in
certificate from "localhost" to "xxx.yyy.com"?

But If I have wrong understanding, can any one tell me how should I do to
resolve this problem?

Regards,

Chatree Srichart

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