My application on Glassfish 3.1 won't perform client authentication

前端 未结 2 1303
醉话见心
醉话见心 2020-12-17 06:40

I have application consuming a SOAP service that uses transport-level authentication. We are trying to move the application from Tomcat to Glassfish 3.1. Unfortunately, Glas

相关标签:
2条回答
  • 2020-12-17 07:29

    A co-worker of mine came up with the solution. Points to Andrew.

    The destination turned out to be sending us the unknown_ca message, as it did not understand the CA of the key that Glassfish was sending during the authentication process.

    Removing the JVM argument -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as resolves the issue. One may also change the argument to specify the alias of the preferred key instead of letting the JVM determine the key to use.

    0 讨论(0)
  • 2020-12-17 07:35

    The SOAP server certificate should be imported into Glassfish's truststore, not keystore.

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