| Author |
Google URL Shortner API with weblogic 10.3.4
|
preeti vivek gupta
Greenhorn
Joined: Jan 13, 2012
Posts: 3
|
|
Hello,
I am trying to use google url shortner API with weblogic 10.3.4 using google provided GSON.jar
I am getting following exception whenever my code runs in weblogic
javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from www.googleapis.com - 74.125.93.95 was not trusted causing SSL handshake failure.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
I am connecting to https://www.googleapis.com/urlshortener/v1/url URL. I tried exporting certificate given here.
And adding that in DemoTrust.jks in weblogic. But it still fails.
Also I have junit testcases to test this. They are working fine. Junit tests use jdk 1.6
Thanks for the help,
Preeti
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6371
|
|
|
Are you sure your domain looks into DemoCert to retrieve the list of trusted CAs ?
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
preeti vivek gupta
Greenhorn
Joined: Jan 13, 2012
Posts: 3
|
|
Thanks for replying.
I didn't change default settings. I think it looks into Democert
|
 |
German Gonzalez-Morris
Ranch Hand
Joined: Nov 16, 2009
Posts: 37
|
|
just like the message says: [Security:090477]Certificate chain received from www.googleapis.com - 74.125.93.95 was not trusted causing SSL handshake failure.
probably googleapi is using his own CA that your WLS doesn't trust.
|
http://devwebcl.blogspot.com/
|
 |
 |
|
|
subject: Google URL Shortner API with weblogic 10.3.4
|
|
|