Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
SSL server: control the alias used for server certificate?
posted 12 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 ?
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
RMI - SSL - VeriSign Certificates
Weblogic SSL certificate
Failed to Establish Chain from Reply
SOAP over HTTPS / SSL
CXF keystore question