Skip to content
Advertisement

Tag: java-http-client

Reloading a java.net.http.HttpClient’s SSLContext

I’ve got a program that makes use of the java.net.http.HttpClient, which was introduced in Java 11, to connect and send requests to internal services. These services are mutually authenticated, both presenting certificates issued by an internal CA. For example, On our hosts, the client’s certificate and private key get rotated pretty regularly, more often than the host or application gets

Advertisement