How to implement TLS 1.3 in Java Spring boot Application?

Viewed 14004
1 Answers

If you want just TLSv1.3 in your Spring Boot application, you can configure this in your application.properties file (or any properties/yml file that is part of an active profile).

server.ssl.enabled-protocols=TLSv1.3

The server.ssl.enabled-protocols property takes a list, so if you want TLSv1.2 and TLSv1.3, you can do that as well:

server.ssl.enabled-protocols=TLSv1.2,TLSv1.3

A comprehensive guide to configuring SSL/TLS in Spring Boot can be found here, in the documentation. All of the SSL/TLS properties can be found in this appendix in the documentation.

And to answer your question, yes, TLSv1.3 was delivered in Java 11.

Related