Home > other >  How to enable multiple ssl protocol versions in Spring Boot?
How to enable multiple ssl protocol versions in Spring Boot?

Time:12-17

So far I managed to enable either TLSv1.3 or TLSv1.2 by specifying it in application.properties file in resources folder.

server.ssl.enabled-protocols=TLSv1.3  

or

server.ssl.enabled-protocols=TLSv1.2 

How to make TLSv1.2 and also TLSv1.3 both available?

(TLSv1.2 is not deprecated yet and i want to create support for older browsers/software that are compatible with/implemented 1.2 only)

CodePudding user response:

As with all properties that support multiple values (collection or array) use a comma separated list.

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