Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8597

Vault WFLYSEC0059: Exception encountered:WFLYSEC0045: Exception encountered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.0.Beta1
    • 11.0.0.Alpha1
    • Security
    • None

    Description

      If vault does not like keystore, it fails with this message, but no exception is logged and it does not provide any indication of the issue.

       
      WFLYSEC0059: Exception encountered:WFLYSEC0045: Exception encountered:
      
      keytool -genkey -alias jbosseap -keyalg RSA -keysize 1024 -keystore jbosseap.keystore -validity 3650 -keypass jbosseap -storepass jbosseap
      ...
      
      ./bin/vault.sh
      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: .
      Enter Keystore URL: jbosseap.keystore
      Enter Keystore password: 
      Enter Keystore password again: 
      Values match
      Enter 8 character salt: 12345678
      Enter iteration count as a number (e.g.: 44): 44
      Enter Keystore Alias: jbosseap
      WFLYSEC0056: Initializing Vault
      WFLYSEC0059: Exception encountered:WFLYSEC0045: Exception encountered:
      Please enter a Digit::   0: Start Interactive Session   1: Remove Interactive Session  2: Exit
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              rhn-support-iweiss Ingo Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: