Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17069

The default password(none) in JavaKeyStoreProvider, is no-longer useful.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.2.1, 3.4.0
    • None
    • kms
    • None

    Description

      Since, the java keytool does not allow us to create a keystore with password length less than 6 characters(i.e. none), we should consider updating the password to a 6 char length (e.g. nopass).

      $ keytool -genkeypair -storetype jceks -keyalg RSA -alias kms -keystore `pwd`/keystore4 -storepass none
      keytool error: java.lang.Exception: Keystore password must be at least 6 characters
      $ java -version
      openjdk version "1.8.0_252"
      OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
      OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            prashant Prashant Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: