I have a keystore in which several keys and certificates are added. I want to use a certificate based on aliases from the keystore and use it for SSL. I tried to set the following system properties, but nothing helped
System.setProperty("javax.net.ssl.keyAlias", "abcd"); System.setProperty("javax.net.ssl.keyStoreAlias", "abcd");
It always uses the first certificate from the keystore instead of matching key aliases
Chatc source share