简体   繁体   中英

SSL Cert. Not found EAP

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM