Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Showing posts with label facebook. Show all posts
Showing posts with label facebook. Show all posts

Thursday, February 3, 2011

javax.net.ssl.SSLKeyException due to certificate check by wls in ADF 11g

I was working on some facebook apis for trying http://www.restfb.com java framework and got below exceptions from wls:


javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from ****** graph.facebook.com failed hostname verification check. Certificate contained *.facebook.com but check expected graph.facebook.com



If you are getting this error then you can set the wls to ignore the certificate check by adding

-Dweblogic.security.SSL.ignoreHostnameVerification=true

to your run/debug/profile of view controller properties. It should work.