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

Vault WFLYSEC0059: Exception encountered:WFLYSEC0045: Exception encountered

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 11.0.0.Alpha1
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: Security
    • Labels:
      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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iweiss Ingo Weiss
                  Reporter:
                  iweiss Ingo Weiss
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: