diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 63aeb5b1..be58eab5 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -1207,6 +1207,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: