Can anyone help to make a tiny Java app to connect to an https server?.
I think that would be very easy if you have experience on it. i dont have basic acknowledge skill so it hard to me.
Now, i am trying to connect to server by openssl, here is the command:
>openssl s_client -connect host:port
but it always says:
Verify return code: 20 (unable to get local issuer certificate)
I don't know what i need to do to make a connection so i am unable to exchange the data, i also searched on the internet and saw that if the connection is OK, the response will be:
Verify return code: 0 (ok).
You just need tell me how to connect to the server by using openssl, or the better is help me to write a small Java app to do it.