Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1501

How to implement a socket client to *automatically* download and use a SSL certificate when connecting to a SSL server?

$
0
0

I am writing my own client implementation in Java that uses SSLEngine with all its complexities to connect to a HTTPS server. So far so good, but I have to manually download the certificate and create a keystore before I want to connect to the HTTPS server. To do that I manually run openssl and keytool in the command-line.

That must be a way to do that process programmatically in the client itself so when it tries to connect to a new HTTPS site nothing needs to be done beforehand.


Viewing all articles
Browse latest Browse all 1501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>