I want to implement TLS 1.3 in my spring boot application.
https://blog.gypsyengineer.com/en/security/an-example-of-tls-13-client-and-server-on-java.html
In this blog i have seen that TLS 1.3 can be used only with Java 11.. is that true?
Please give me step by step proceduce to implement it.
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.
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.