Skip to content
Advertisement

Tag: mtls

SSL Handshake error after Client Finished handshake message

I’m attempting to perform mutual TLS authentication to server.com (changed), and I’m getting Fatal (HANDSHAKE_FAILURE): Couldn’t kickstart handshaking, javax.net.ssl.SSLException: readHandshakeRecord after Produced client Finished handshake message. I am using AdoptOpenJDK 11.0.11.9-hotspot. JVM options: Code I use for debugging this problem: Logs with handshake steps successfully performed: Just after that I get: The same request sent with curl or openssl is

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