Ver código fonte

集成HTTPS证书

小柒2012 7 anos atrás
pai
commit
90518a3863

+ 5 - 0
src/main/resources/application-dev.properties

@@ -12,6 +12,11 @@ server.tomcat.max-threads=100
 #tomcat\u7684URI\u7f16\u7801
 server.tomcat.uri-encoding=UTF-8
 
+#HTTPS\u8bc1\u4e66 
+server.ssl.key-store: classpath:keystore.p12
+server.ssl.key-store-password: 123456
+server.ssl.keyStoreType: PKCS12
+
 #spring boot\u4ece\u63a7\u5236\u53f0\u6253\u5370\u51fa\u6765\u7684\u65e5\u5fd7\u7ea7\u522b\u53ea\u6709ERROR, WARN \u8fd8\u6709INFO\uff0c\u5982\u679c\u4f60\u60f3\u8981\u6253\u5370debug\u7ea7\u522b\u7684\u65e5\u5fd7
 #debug=true
 logging.level.root=INFO

BIN
src/main/resources/keystore.p12