Check SSL server certificate contents
echo | openssl s_client -showcerts -servername <server name> -connect <host name>:443 2>/dev/null | openssl x509 -inform pem
server name is used to add SNI compatible headers to the request. host name is the name of the machine and can be the same
as server name.
all articles represent the sole opinion of their respective author. all content comes without any warranty
for correctnes, despite due diligence.