new a nice good example of API usage

23 views
Skip to first unread message

Ricardo Riveros

unread,
Oct 5, 2011, 6:26:08 PM10/5/11
to jsslutils-discuss
I am the client and am trying to communicate with two external systems
via SSL using apache httpclient 3.1. the external providers each
provided me a p12 so I merged and created a Java Keystore for these
keys. So now my keystore has two private keys and their associated
certificate chains. Currently trust manager is set to trust all for
testing purpose.

How to use these api to dynamically select which certificate + chain
to use when calling a particular client? Basically when i make a call
using apache http client calling external system A, select alias for
system A private cert and call. Then when calling External System B,
select alias for System B get private cert and call.

Thank you
Reply all
Reply to author
Forward
0 new messages