| Author |
SSL server: control the alias used for server certificate?
|
Sol Mayer-Orn
Ranch Hand
Joined: Nov 13, 2002
Posts: 310
|
|
Hi, I'd appreciate help with the following. When you create an SSL server socket, it needs a certificate (to prove its identity), and for this it relies on a keystore: System.setProperty("javax.net.ssl.keyStore", "c:/mystore"); My question is, what if the keystore contains *several* certificates ? Eg: keytool -import -alias AAA -file cert1.cer -keystore mystore keytool -import -alias BBB -file cert2.cer -keystore mystore Which certificate would the server use ? And is there a way to control the alias it would use ? Thanks
|
 |
 |
|
|
subject: SSL server: control the alias used for server certificate?
|
|
|