Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-751

tomcat-vault creates a keystore that it can't use

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • tomcat-vault
    • None
    • Hide

      1) Execute tomcat-vault.sh and start an interactive session
      2) Configure vault to with a keystore URL that doesn't exist, it will create one

      Starting an interactive session
      Enter directory to store encrypted files:/etc/tomcat8/
      Enter Keystore URL:/etc/tomcat8/.keystore
      Enter Keystore password: 
      Enter Keystore password again: 
      Values match
      Enter 8 character salt:12345678
      Enter iteration count as a number (Eg: 44):44
      Enter Keystore Alias:vault
      Initializing Vault
      Exception encountered:Exception encountered:java.lang.RuntimeException: PBOX000137: Security Vault does not contain SecretKey entry under alias (vault)
      Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit
      

      3) Note the exception and failure to configure vault, even though vault created the keystore

      Show
      1) Execute tomcat-vault.sh and start an interactive session 2) Configure vault to with a keystore URL that doesn't exist, it will create one Starting an interactive session Enter directory to store encrypted files:/etc/tomcat8/ Enter Keystore URL:/etc/tomcat8/.keystore Enter Keystore password: Enter Keystore password again: Values match Enter 8 character salt:12345678 Enter iteration count as a number (Eg: 44):44 Enter Keystore Alias:vault Initializing Vault Exception encountered:Exception encountered:java.lang.RuntimeException: PBOX000137: Security Vault does not contain SecretKey entry under alias (vault) Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2: Exit 3) Note the exception and failure to configure vault, even though vault created the keystore

    Description

      This issue is related to JWS-749, but instead of printing a command for you to use, the interactive shell creates a keystore that it can't use (it's the wrong type).

      Attachments

        Issue Links

          Activity

            People

              rhn-support-csutherl Coty Sutherland
              rhn-support-csutherl Coty Sutherland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: