SSL alert number 46
843811Aug 30 2004 — edited Mar 29 2006I start up my Tomcat server with a keystore, truststore and clientAuth=true, and tried connecting it via "openssl s_client" and everything works well.
Setting up my OC4J (Oracle 9ias) using the same keystore, truststore and needs-client-auth=true, I get the following error when I try to connect to it using "openssl s_client":
1893:error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown:s3_pkt.c:964:SSL alert number 46
1893:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:226:
If I turn off client-authentication on my OC4J server, it works fine. This makes me think there's something wrong with my client certificate, but I use the same client certificate when testing with Tomcat and it works fine. =(
HELP!
Liam