开发者

Multiple Certificates In Single Keystore & One Tomcat Instance

I'm working on a project in Java and having an issue authenticating to a merchant service for credit card transactions.

Currently I have a single tomcat instance that runs, and a single keystore that contains multiple certificates. We can get our web service to work with a single certificate connecting to the 3rd party me开发者_如何学Pythonrchant service. The issue is that we're trying to utilize a couple dozen certificates because the merchant service issues a unique cert per customer.

So the question I have: is it possible to configure tomcat in such a way that I can dynamically specify which certificate to use from the keystore on a per-connection basis?


Not sure if i understood your problem correctly. But one way of handling multiple certificates in a single keystore is to use alias in the Key/Trust Managers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜