Well, the first thing to check is to check if Tomcat is configured correctly to request a certificate from the client for the path in question. For Tomcat 6, this means that you should have a Connector configured in conf / server.xml like this:
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="${user.home}/.keystore" keystorePass="password"
truststoreFile="conf/truststore" truststorePass="password"
clientAuth="true" sslProtocol="TLS" />
TruststoreFile truststorePass - "clientAuth = true", , ( , - ). TruststoreFile JKS , CA, , . Tomcat , : "- " , . , - Tomcat.
, , . , , , wirehark, . , , Tomcat , , .
PKCS12. :
openssl pkcs12 -in [path-to-pkcs12-file] -nokeys | openssl x509 -noout -subject -issuer
, trustedCaCert . , Java keytool, , :
keytool -exportcert -keystore conf/truststore -alias [alias of trusted cert] | openssl x509 -noout -subject -inform der
, , openssl s_client , . PKCS12:
openssl pkcs12 -in [PKCS12 file] -out [whatever].key
openssl s_client -tls1 -connect localhost:443 -cert [whatever].key -key [whatever].key
( "-cert" "-key", openssl "BEGIN CERTIFICATE" "BEGIN RSA PRIVATE KEY" ). , , s_client, , ( ).
, , Apache Tomcat - Apache , SSL-, Tomcat.