应用同时支持HTTP和HTTPS

生成证书:keytool -genkeypair -keystore test.jks -alias test -keyalg RSA -keysize 2048 -validity 3650应用配置:server: port: 18081 #https http-port: 8081 #http
posted @ 2024-06-21 14:51  浪天涯&*  阅读(2)  评论(0编辑  收藏  举报