Skip to content
Mathieu Lavigne edited this page Mar 26, 2026 · 5 revisions

Signature de certificat

post

Tester une connexion SSL

Pour afficher le certificat serveur :

openssl s_client -showcerts -connect server.com:443

Pour tester son certificat et sa clé privée clients :

openssl s_client -connect server.com:443 \
    -cert client.crt \
    -key client.key \
    -CAfile backend-ca.crt

Vérification

Vérifier un certificat :

openssl verify cert.pem

Afficher les détails d'un certificat :

openssl x509 -in cert.pem -noout -text

Afficher le numéro de série d'un certificat :

openssl x509 -in cert.pem -noout -text -serial
# Exemple de résultat :
# serial=1137247333288D174800C21EDF23A9D1B31E7843

Voir aussi

Clone this wiki locally