Switch to using a keystore for storing the server cert and private key.