netic
netic

Reputation: 2944

In Java: How to handshake a secured connection using Keystore and Truststore certificate?

If I have 2 terminals A and B. T-A is connect T-B over secured socket connection. I need to write code to implement a connection between the 2 terminals.

How do I do handshake such connection using Keystore and Truststore. Another word, where do I place keystore/truststore certificate file? (T-A or T-B)

Any good advice or good example is greatly appreciated.

Thanks

Upvotes: 2

Views: 2942

Answers (1)

Marc Novakowski
Marc Novakowski

Reputation: 45398

Here's a PDF whitepaper entitled Using JSSE for secure socket communication which may help answer your question, including configuration of your keystore files.

Upvotes: 5

Related Questions