I was working on some facebook apis for trying http://www.restfb.com java framework and got below exceptions from wls:
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.
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.
2 comments:
Great Tip ! Thanks a lot !
we should not doe this in the production environment, this tip is suggestable only in the development or local environments
Post a Comment