Skip to content
Advertisement

Tag: mutual-authentication

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

How can i solve [Received fatal alert: bad_certificate]?

I’ve created two servers locally, and I’m going to apply a mutual authentication to their communication. I just don’t know what the problem is. I lack understanding of this mechanism, but I also lack understanding of the server itself. Create each key store Export to X.509 to register certificate in Truststore. Register each other’s certificates in Truststore. server’s application.properties client’s

Advertisement