Add documentation about warning when using keytool with JDK 11. Fixes #1380

This commit is contained in:
Ryan Baxter
2019-09-03 17:18:44 -04:00
parent cb8d7bc12f
commit 3ec68bd60e

View File

@@ -1110,6 +1110,12 @@ $ keytool -genkeypair -alias mytestkey -keyalg RSA \
-keypass changeme -keystore server.jks -storepass letmein
----
NOTE: When using JDK 11 or above you may get the following warning when using the command above. In this case
you probably want to make sure the `keypass` and `storepass` values match.
----
Warning: Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified -keypass value.
----
Put the `server.jks` file in the classpath (for instance) and then, in
your `bootstrap.yml`, for the Config Server, create the following settings: