FAQ Database Discussion Community

Connecting via mutual SSL fails reading incoming changeCipherSpec

We need to make connect to a server using mutual SSL but for some reason we're getting the following error when trying to make a request: [...] readIncomingTls_changeCipherSpec2: processTlsRecord: processAlert: TlsAlert: level: fatal descrip: handshake failure --TlsAlert --processAlert --processTlsRecord --readIncomingTls_changeCipherSpec2 Failed to read incoming handshake messages. (3) Client handshake failed....

Failing mutual auth on Android w/ javax.net.ssl.SSLHandshakeException: Handshake failed

I am trying to get a mutual authentication request to work on android. I am testing against my own server so I have a self signed CA and client certificate. So I will have to allow for untrusted server cert. Here is what I am doing: KeyStore clientCertificate = KeyStore.getInstance("PKCS12");...

How to do two-way authentication on tomcat?

How to do Two-way SSL authentication on tomcat using OpenSSL self signed certificates - Need to use EC DSA for generating certificates. Suggestions much appreciated.Thanks in advance...