Last active
June 5, 2019 23:35
-
-
Save elviejokike/46845544b8df354e396fe820f5386056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following properties are necessary for configuring Spring Zuul Proxy with SSL | |
Create a self signed certificate | |
keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass digilabs -validity 360 -keysize 2048 | |
Place the keystore.jks in the resources folder of your application. | |
server: | |
ssl: | |
enabled: true | |
key-store: classpath:keystore.jks | |
key-store-password: ***** | |
key-alias: selfsigned | |
keyStoreType: JKS | |
ribbon: | |
IsSecure: true | |
TrustStore: classpath:keystore.jks | |
TrustStorePassword : ***** | |
eureka: | |
instance: | |
nonSecurePortEnabled: false | |
securePortEnabled: true | |
securePort: ${server.port} | |
..... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment