Prashant Sharma created HADOOP-17069:
----------------------------------------

             Summary: The default password(none) in JavaKeyStoreProvider, is 
less useful. 
                 Key: HADOOP-17069
                 URL: https://issues.apache.org/jira/browse/HADOOP-17069
             Project: Hadoop Common
          Issue Type: Improvement
          Components: kms
    Affects Versions: 3.2.1
            Reporter: Prashant Sharma


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).

{code}
$ 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)
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to