Chatree,

You need to add the server certificate to your keystore which has trusted
certificates.  You can use this simple program
http://blogs.sun.com/andreas/resource/InstallCert.java which will connect
with your server and add it to the keystore.

read more here - http://blogs.sun.com/andreas/entry/no_more_unable_to_find

Thanks,
ravish

On Wed, Dec 23, 2009 at 3:25 PM, Chatree Srichart <
[email protected]> wrote:

> I try to install *Central Authentication Service (CAS) in OFBiz :
>
> 1. create OFBiz component
> 2. download CAS server from http://www.jasig.org/cas web site
> 3. download CAS client war from this link
>
> http://www.ja-sig.org/wiki/download/attachments/13569483/mywebapp.war?version=1
> 4. extract both of a client and a server war files and place as OFBiz
> webapp
> 5. start OFBiz
> 6. enter http://localhost:8080/mywebapp and it redirect to
>
> https://localhost:8443/cas/login?service=https%3A%2F%2Flocalhost%3A8443%2Fmywebapp%2F
> 7. type 'admin' as NetID and 'admin' as Password, Enter. I found Error like
> this:
>
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
>  8. I add -Djavax.net.ssl.trustStore to JVM parameter like this:
>
>
> -Djavax.net.ssl.trustStore=/home/chatree/Projects/ofbiz/framework/base/config/ofbizssl.jks
>
> 9. restart OFBiz and try to login again, I found Error:
>
> java.security.cert.CertificateException: No name matching localhost found
>
> I'm a newbie for CAS. Can any one help me?
>
> Thank you
> Chatree Srichart
> *
>

Reply via email to