- 
        1. Re: failed to use vault.bat to get encrypt passwordjtymel Apr 21, 2016 9:53 AM (in response to inhse)Hi Aries, could you please check that alias you use ("vault") matches the alias you provided to keytool command? I.e. did you run the keytool command similarly to following? (important attribute is bold) keytool.exe -genseckey -alias vault -storetype jceks -keyalg AES -keysize 128 -storepass vault22 -keypass vault22 -validity 730 -keystore C:\tmp\jtymel\wildfly-9.0.2.final\vault\vault.keystore If not, could you please try it out to enter alias you provided to keytool command? Thanks and have a nice day Jan 
- 
        2. Re: failed to use vault.bat to get encrypt passwordinhse Apr 21, 2016 11:17 PM (in response to jtymel)Hi Jan, I used genkey instead of genseckey so it failded. Now I could complete the preparation of vault. BTW, I note that keysize seemed only work for 128, is it true? Thanks for your followup. Aries 
- 
        3. Re: failed to use vault.bat to get encrypt passwordhsvabek Apr 25, 2016 6:36 AM (in response to inhse)Hi Aries, I tried it now and it works with value greater than 128. But you need this (depends on JDK) OracleJDK: How to install https://www.google.cz/#q=How+to+Install+JCE+Java+cryptography+extension OpenJDK It works out-of-the-box I hope it helps Have a wonderful day Hynek 
 
     
    