SSL with google-enterprise-gdata-api

64 views
Skip to first unread message

Yusuf

unread,
Nov 11, 2009, 10:29:07 AM11/11/09
to Google Enterprise Labs
Hi,

we have a GSA with a self-signed SSL certificate. I created a
truststore with the server certificate which I'm using with my java
client to access admin api

I'm running the Client class with following Java options:
java -Djavax.net.ssl.trustStore=truststore.jks -
Djavax.net.ssl.trustStorePassword=changeit -
Djavax.net.ssl.trustStoreType=JKS ....

But the always getting:
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

Any idea why that happens?
Is there a way to make SSL calls insecure?. Unfortunately our non-ssl
port 8000 is not accessible from outside.

Best Regards
Yusuf
Reply all
Reply to author
Forward
0 new messages