SSL Cert. Not found EAP

大憨熊 提交于 2019-12-25 05:13:37

问题


My Scenario:

I have 2 different keystores(A.jks and B.jks) which are used for SSL connections to two different servers. These keystores work from the command line when doing "smoke-tests".

Using an EAP server, if the call to web-service A (Using A.jks) happens before web-service B(Using B.jks), then web-service A is successful and web-service B is unsuccessful - resulting with SSLHandshakeException. This error also happens when the order is reversed..ie. call to web-service B (Using B.jks) happens before web-service call A(Using A.jks), then web-service B is successful and web-service A is unsuccessful.

Question: What would cause the KeyStores loaded in the Server context to override each other?


回答1:


Wildfly/ EAP does not play well with multiple TrustStores. Add the Certs. to one TrustStore and load that. This solution worked for me.



来源:https://stackoverflow.com/questions/42115554/ssl-cert-not-found-eap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!