Creating a vault keystore from a .cer
Issue
- When creating the keystore from a
.cer,the following errors occur when executing thevault.sh
PBOX000371: Security Vault does not contain SecretKey entry under alias xxx
- When creating the vault keystore using the following command:
keytool -genkeypair -keystore test.jceks -storetype jceks -storepass 123456 -keypass 123456 -keyalg rsa -alias test -keysize 2048 -sigalg sha256withrsa -dname "c=test,o=test,ou=test,cn=test"
the below errors are observed while executing the vault.sh
PBOX000371: Security Vault does not contain SecretKey entry under alias (test)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
