1 of 1 people found this helpful
Probably (based on message) your keystore does not contains private key.
What is output of
keytool -list -v -keystore c:\java\wildfly-9.0.2.Final\standalone\configuration\wildfly.keystore -storepass wildfly | grep -B 3 "PrivateKeyEntry\|SecretKeyEntry"
You were correct in guessing the private key. I retried by creating a pkcs12 keystore with openssl for the certificate, private key and CA certificate and imported it into the JKS keystore. I had another issue when I omitted the keypassword in the import and it didn't default to the keystore password, resulting in a failure in retrieving the key. Thanks for the pointer!