Skip to content
Advertisement

Tag: sslcontext

How to force java SSLContext to use TLSv1.1

How do I get a jersey client to use TLSv1.1? I’m trying to force a com.sun.jersey.client.urlconnection.HTTPSProperties (jersey client code eventually goes to this class) to use TLSv1.1 (or TLSv1) to write test code that confirms a server’s protocols. As I setup the client, I do the following: Inside HTTPSProperties (I downloaded the 1.x source so this may be wrong) I

Configure Spring Boot’s with custom SSLContext programmatically (for mTLS)

Problem Programmatically configure Spring Boot’s to use my custom SSLContext. And use for mTLS. Context Spring’s documentation provides only one, clear way how to configure SSL (via application.properties): However, this solution lacks depth as there are scenarios, where I’d like to advantage of customizing my own SSLContext. For example, configuring mTLS to trust not only single certificate generated via keytool,

Advertisement