简体   繁体   中英

Configure Apache tomcat to send SSL certificate to frontend server(act as client)

I have a soap based cxf services server deployed in server and also soap based cxf services client deployed in different server.Both the server have valid SSL certificates .Both are acting as client and server in different scenarios.Now i am calling client services through server and tomcat didn't send server certificate to client.So does it tomcat have any configuration or jvm to send ssl certificate to client.Please help me out.

More details I added JAVA_OPTS

  1. -Djavax.net.debug=ssl
  2. -Djavax.net.ssl.keyStore=[keystore_location]
  3. -Djavax.net.ssl.keyStorePassword=[password]

Below are the ssl sequence when client sends message to server

  1. Is initial handshake: true
  2. ClientHello, TLSv1
  3. ServerHello, TLSv1
  4. Certificate chain (server sends its certificate)
  5. Found trusted certificate(certificate trusted by client)
  6. CertificateRequest Cert Types: RSA, DSS(server request for client certificate)
  7. ServerHelloDone
  8. Certificate chain(This chain is empty.I think i need to add certificate here)
  9. ClientKeyExchange, RSA PreMasterSecret, TLSv1

我在cxf消息中嵌入了客户端证书,然后将消息发送到服务器。我利用cxf示例项目http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_https/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM