[
https://issues.apache.org/jira/browse/HADOOP-17069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Sharma resolved HADOOP-17069.
--------------------------------------
Resolution: Invalid
Resolving as invalid, as I realised that keystore has to be created by hadoop
tools only and not with keytool. Documentation does not say anything about
this, maybe a note can be added.
> The default password(none) in JavaKeyStoreProvider, is no-longer 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, 3.4.0
> Reporter: Prashant Sharma
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]