Unable to get keystore when trying to configure VAULT in JBoss EAP 6.4

Solution Verified - Updated -

Issue

When keystore is generated with storetype equals PKCS12 it is getting the following error executing the vault.sh:

**********************************                                                                                                     
****  JBoss Vault  ***************                                                                                                     
**********************************                                                                                                     
Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit                                          
0                                                                                                                                      
Starting an interactive session                                                                                                        
Enter directory to store encrypted files:path/to/keystore/                                              
Enter Keystore URL:path/to/keystore/file.keystore                                                
Enter Keystore password:                                                                                                               
Enter Keystore password again:                                                                                                         
Values match                                                                                                                           
Enter 8 character salt:12873465                                                                                                        
Enter iteration count as a number (Eg: 44):11                                                                                          
Enter Keystore Alias:vault                                                                                                          
Initializing Vault                                                                                                                     
Exception encountered:Exception encountered:java.lang.RuntimeException: PBOX000140: Unable to get keystore (path/to/keystore/)                                                                                             
Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content