java - How to start the SpringBoot project jar package and use https communication protocol?
Michael Jordan
Michael Jordan 2017-06-12 09:25:44
0
1
1221

I want to make a pure back-end java project, use the springboot framework, and then change the default http protocol to https protocol, according to the following tutorial
http://blog.csdn.net/enterys/...
After installation, it can be started directly locally and accessed by localhost using the https protocol. However, it will not work when deployed to a Linux environment.

Michael Jordan
Michael Jordan

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all (1)
typecho

Configuring it directly in springboot is not as convenient as configuring it in nginx (certificate)

Spring boot configure jks certificate

server.port=8443 #server.ssl.ciphers=yes server.ssl.enabled=true #server.ssl.key-alias=tomcat server.ssl.key-store=XXXXX.jks server.ssl.key-password=XXX.com server.ssl.key-store-type=JKS #server.ssl.protocol=TLSv1.1
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!