I am trying to make SSL communication between client/server.
So far I have created java.security.cert.X509Certificate
from a keystore. What should I do next in order to make this communication successful. Any example will be helpful.
I am trying to make SSL communication between client/server.
So far I have created java.security.cert.X509Certificate
from a keystore. What should I do next in order to make this communication successful. Any example will be helpful.
So far I have created java.security.cert.X509Certificate
You don't need that.
Follow all the instructions in the JSSE Reference Guide.
This answer solves my problem. https://stackoverflow.com/a/859271/420613 Also see this code.