In Java: How to authenticate a secure connection using a Keystore and Truststore certificate?
If I have 2 pins A and B. TA connects TB through a secure socket connection. I need to write some code to implement a connection between two terminals.
How can I authenticate such a connection using Keystore and Truststore. Another word, where can I put my store / trust store certificate file? (TA or TB)
Any good advice or good example is appreciated.
thank
+1
source to share
1 answer
See this PDF titled Using JSSE for Socket Security , which may help answer your question, including configuring your keystore files.
+5
source to share