I have a client application by java that want connect to server as Two Way SSL. I create a pair keys as public/private. Public key name is key.cert and private key name is key.pem. Then server side give to me a public key with server.cert name. My questions are:
- What convert three key(key.cert\key.pem\server.cert) in me side(client side) into a java Key Store(JKS)?
- What create a Socket in code for connect to server?