I have a problem with Weblogic accessing an HTTPS server, I can access other HTTPS urls, like google or microsoft. The code that tries to connect to the url is:
<
For me using -DUseSunHttpHandler=true
works but I can't have this parameter, because then I have problems with restarting Managed Server on redeploy.
This helped me:
url = new URL(null,"https://yoururl.com",new sun.net.www.protocol.https.Handler());
Eventually it worked by setting these in the Weblogic arguments:
-DUseSunHttpHandler=true
-Dssl.SocketFactory.provider=sun.security.ssl.SSLSocketFactoryImpl
-Dssl.ServerSocketFactory.provider=sun.security.ssl.SSLSocketFactoryImpl
As per these posts: https://stackoverflow.com/a/7276163 and https://community.oracle.com/thread/2523332