Tests certificats SSL
Afficher informations certificat local
Pour afficher les informations sur un certificat local
openssl x509 -in /etc/ssl/certs/domain.tld.pem -noout -text
Pour n'afficher que les dates de validité du certificat
openssl x509 -in /etc/ssl/certs/domain.tld.pem -noout -dates
Afficher informations certificat distant
Afficher les informations sur un certificat
openssl s_client -showcerts -host domain.tld -port 443
Vérification certificat distant
openssl s_client -connect domain.tld:443 -CApath /etc/ssl/certs