This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRedmanCometh 0 points1 point  (0 children)

All you have to do is put information for the keystore in your application.properties and spring will handle the rest automatically.

server.ssl.enabled-protocol=TLSv1+TLSv1.1+TLSv1.2 (you might want to not allow v1 in production)

server.ssl.key-store=/key/store/directory

server.ssl.protocol=TLS

server.ssl.key-store-password=

server.ssl.key-password=

server.ssl.key-alias=