Hi I'm working on a web app that access LinkedIn user's info through the REST API. The app is written in Java/Servlet.
It works well on local Tomcat server, but failed when deployed in the WebLogic server.
When the app connect to LinkedIn to get OAuth requestToken, an exception will be thrown:
org.scribe.exceptions.OAuthException: Problems while creating connection.
Caused by: javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from api.linkedin.com - 18.104.22.168 was not trusted causing SSL handshake failure.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
I have tried to export a cer file from LinkedIn webpage, and import it into JVM's keystore in WebLogic. But nothing changed. Maybe I got the certificate of LinkedIn in a wrong way, or maybe this kind problem is not solved in such way. Please help me on this issue, thank you!