Register / Login
SSL server: control the alias used for server certificate?
posted 11 years ago
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:
My question is, what if the keystore contains *several* certificates ?
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 ?
RMI - SSL - VeriSign Certificates
Weblogic SSL certificate
Failed to Establish Chain from Reply
SOAP over HTTPS / SSL
CXF keystore question