Error accessing a Web Service with SSL

后端 未结 7 879
借酒劲吻你
借酒劲吻你 2020-12-29 09:59

I have a program that is supposed to send a file to a web service, which requires an SSL connection. I run the program as follows:

SET JAVA_HOME=C:\\Program         


        
相关标签:
7条回答
  • 2020-12-29 11:02

    One more "solution" which seems to be working for me. Create your own security properties file, my.java.security with contents like:

    ssl.SocketFactory.provider=
    ssl.ServerSocketFactory.provider=
    

    When calling Java (or in my case maven), add the command line option:

    -Djava.security.properties=C:\myfiles\my.java.security
    

    Cribbed from the IBM Liberty documentation: http://www-01.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/rwlp_trouble.html?lang=en

    0 讨论(0)
提交回复
热议问题