What is the difference between keyStorePassword and keyManagerPassword in Jetty?
java, jetty, keystore, ssl
Solution
Keymanagerfactory does have a password.
hmmm it is a little history and evolution in these APIs and they could perhaps be made clearer.
The keyManagerPassword is passed as the password arg to KeyManagerFactory.init(...) If there is no keymanagerpassword, then the keystorepassword is used instead. If there is no trustmanager set, then the keystore is used as the trust store and the keystorepassword is used as the truststore password.
Problem
I am looking at SSL for Jetty: http://wiki.eclipse.org/Jetty/Reference/SSL_Connectors There are properties for both keyStorePassword and keyManagerPassword. I suppose the keyManagerPassword is used by a Javax KeyManager, and so is a password for recovering keys from the key store? So do keyStorePassword and keyManagerPassword then generally have the same value?