diff --git a/1.3.x/multi/multi__spring_cloud_config_server.html b/1.3.x/multi/multi__spring_cloud_config_server.html index cba8de09..f58d2178 100644 --- a/1.3.x/multi/multi__spring_cloud_config_server.html +++ b/1.3.x/multi/multi__spring_cloud_config_server.html @@ -525,7 +525,7 @@ if your config server really is relatively insecure and only a handful of clients need the encrypted properties.
To create a keystore for testing you can do something like this:
$ keytool -genkeypair -alias mytestkey -keyalg RSA \ -dname "CN=Web Server,OU=Unit,O=Organization,L=City,S=State,C=US" \ -keypass changeme -keystore server.jks -storepass letmein
Put the server.jks file in the classpath (for instance) and then in
-your application.yml for the Config Server:
encrypt: +yourbootstrap.ymlfor the Config Server:encrypt: keyStore: location: classpath:/server.jks password: letmein diff --git a/1.3.x/single/spring-cloud-config.html b/1.3.x/single/spring-cloud-config.html index 848eb9e9..6c9f3449 100644 --- a/1.3.x/single/spring-cloud-config.html +++ b/1.3.x/single/spring-cloud-config.html @@ -627,7 +627,7 @@ if your config server really is relatively insecure and only a handful of clients need the encrypted properties.
To create a keystore for testing you can do something like this:
$ keytool -genkeypair -alias mytestkey -keyalg RSA \ -dname "CN=Web Server,OU=Unit,O=Organization,L=City,S=State,C=US" \ -keypass changeme -keystore server.jks -storepass letmein
Put the server.jks file in the classpath (for instance) and then in
-your application.yml for the Config Server:
encrypt: +yourbootstrap.ymlfor the Config Server:encrypt: keyStore: location: classpath:/server.jks password: letmein diff --git a/1.3.x/spring-cloud-config.xml b/1.3.x/spring-cloud-config.xml index bb4e87bd..26a8d9e1 100644 --- a/1.3.x/spring-cloud-config.xml +++ b/1.3.x/spring-cloud-config.xml @@ -1026,7 +1026,7 @@ handful of clients need the encrypted properties. -dname "CN=Web Server,OU=Unit,O=Organization,L=City,S=State,C=US" \ -keypass changeme -keystore server.jks -storepass letmeinPut the +yourserver.jks file in the classpath (for instance) and then in -yourapplication.yml for the Config Server:bootstrap.yml for the Config Server:encrypt: keyStore: location: classpath:/server.jks