certificate not trusted by Websphere

前端 未结 6 1221
谎友^
谎友^ 2021-01-12 02:58

I have a web application that call a SOAP Web service secured via SSL .(https://zzzzzzzzzzzz/xxxxx).

The server send two certificates (Root and Leaf) s

6条回答
  •  隐瞒了意图╮
    2021-01-12 03:41

    Thanks for all the above response. Able to resolve the issue java.security.cert.CertPathValidatorException: Certificate chaining error with following configuration.

    1. Found that the following javax properties returned null value in the WebSphere.
      • javax.net.ssl.trustStore,
      • javax.net.ssl.trustStorePassword
      • javax.net.ssl.trustStoreType

    For more details, please see this link,

    java - path to trustStore - set property doesn't work?

    1. Configured the properties as below in the WebSphere

      Select Servers > Application Servers > server_name > Process Definition > Java Virtual Machine > Custom Properties > New.

    a) javax.net.ssl.trustStore = jre_install_dir\lib\security\cacerts

    Example: C:\Program Files\WebSphere\AppServer\java\jre\lib\security\cacerts

    b) javax.net.ssl.trustStorePassword = changeit (default)

    c) javax.net.ssl.trustStoreType = jks

    For more details, please see this link,

    http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=%2Fcom.ibm.isim.doc_6.0%2Finstalling%2Ftsk%2Ftsk_ic_ins_first_security_truststore.htm

    After the configuration was able to see in the logs that certificates being added to the trust store.

    Thanks, Uday Nilajkar

提交回复
热议问题