Cannot access HTTPS from Weblogic

前端 未结 2 497
难免孤独
难免孤独 2020-12-15 12:46

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:

<         


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 13:46

    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

提交回复
热议问题