Get certificate and add it to a Java truststore, when only having https URL? - Stack Overflow
openssl s_client -connect android.googleapis.com:443
s_client
is a "generic SSL/TLS client which connects to a remote host using SSL/TLS", and among other things it prints out the server certificate it received from the remote server. It isn't an HTTP client, so it doesn't know to follow the 301 redirect, it'll just give you the certificate of the initial server you connected to.
Read full article from Get certificate and add it to a Java truststore, when only having https URL? - Stack Overflow
No comments:
Post a Comment