Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1492

Vault error "Exception encountered:PB00019: Processing Failed:Unable to get Keystore:"

    XMLWordPrintable

    Details

      Description

      I tried to set up vault on Windows, following
      https://community.jboss.org/wiki/AS7UtilisingMaskedPasswordsViaTheVault
      but I got an error

      C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin>vault.bat
      not defined java
      =========================================================================

      JBoss Vault

      JBOSS_HOME: C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin
      ..

      JAVA: C:\Program Files\Java\jdk1.6.0_29\bin\java

      VAULT Classpath: C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\picketbox\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.
      0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\logging\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\com
      mon-core\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\as\security\main*
      =========================================================================

      'C:\Program' is not recognized as an internal or external command,
      operable program or batch file.
      C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin>set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_29"

      C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin>vault.bat
      not defined java
      =========================================================================

      JBoss Vault

      JBOSS_HOME: C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin
      ..

      JAVA: "C:\Program Files\Java\jdk1.6.0_29"\bin\java

      VAULT Classpath: C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\picketbox\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.
      0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\logging\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\com
      mon-core\main*;C:\Users\jbossqa\jlanik\jboss-eap-6.0.0.ER2\jboss-eap-6.0\bin\\..\modules\org\jboss\as\security\main*
      =========================================================================

      **********************************

            • 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 (end with either / or \ based on Unix or Windows:"C:\Program Files\Java\jdk1.6.0_29"
              Enter directory to store encrypted files (end with either / or \ based on Unix or Windows:C:\Users\jbossqa\jlanik\vault\
              Enter Keystore URL:C:\Users\jbossqa\jlanik\vault\vault.keystore
              Enter Keystore password:
              Enter Keystore password again:
              Values match
              Enter 8 character salt:12345678
              Enter iteration count as a number (Eg: 44):50

      Please make note of the following:
      ********************************************
      Masked Password:MASK-31x/z0Xn83H4JaL0h5eK/N
      salt:12345678
      Iteration Count:50
      ********************************************

      Enter Keystore Alias:vault
      Mar 1, 2012 5:54:20 AM org.jboss.security.vault.SecurityVaultFactory get
      INFO: Getting Security Vault with implementation of org.picketbox.plugins.vault.PicketBoxSecurityVault
      Obtained Vault
      Intializing Vault
      Exception encountered:PB00019: Processing Failed:Unable to get Keystore:
      Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2: Exit

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pskopek Peter Škopek
                  Reporter:
                  jlanik Jan Lanik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: