Obtaining TLS certificate information on the command line

Here are a few helpful commands if you want to inspect and dump certificates for analysis or debugging: HTTPS certificates Run the following command if you want to see the certificate presented by netfuture.ch on HTTPS (port 443): openssl s_client -showcerts -connect netfuture.ch :443 You need to press Ctrl-D to exit from the command, unless you want to send an HTTPS request to the server.…