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=14. 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%2F7. 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
*