I have a p7b cert and I import into IIS and export into 3 .cer file as below.
- root.cer
- intermediate.cer
- servercertificate.cer
then I use following commands to insert all 3 cer into my keystore successfully.
keytool -import -alias root -keystore test.keystore -trustcacert -file root.cer
then I run my wildfly and the error "keystore does not contain any key" but when i list out the keystore, it has all the 3 keys inside. I'm not sure why it doesn't work and hope someone can enlighten me on this.