简体   繁体   中英

Setting up SSL security in spring boot 2.0.3

In earlier spring boot, the configuration for setting up SSL security had to be done on application.properties by mentioning

server.port=8443
security.require-ssl=true
server.ssl.key-store=classpath:shq.jks
server.ssl.key-store-password=******
server.ssl.key-password=******

Would the same work on spring boot 2.0.3

If not what has to be changed.

The answer for your question is YES.

It is same for Spring boot 2.0.x versions also.

you can refer below to cross verify the same.

Enable HTTPS with self-signed certificate in Spring Boot 2.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM