Created
July 2, 2018 04:50
-
-
Save keesun/f93f0b83d7232137283450e08a53c4fd to your computer and use it in GitHub Desktop.
Spring Boot SSL Sample (self signed)
This file contains hidden or 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
server.ssl.key-store: keystore.p12 | |
server.ssl.key-store-password: 123456 | |
server.ssl.keyStoreType: PKCS12 | |
server.ssl.keyAlias: tomcat |
This file contains hidden or 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
keytool -genkey | |
-alias tomcat | |
-storetype PKCS12 | |
-keyalg RSA | |
-keysize 2048 | |
-keystore keystore.p12 | |
-validity 4000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment