Tools - OpenSSL
Glossary
Here some definitions:
CSR: Certificate Signing Request
Commands
Creation
Generate a CSR certificate with your private key:
Generate a self-signed certificate:
Generate a CSR certificate from an existing key:
Generate a CSR certificate from an existing certificate:
Delete the passphrase on a key:
Verification
Check a CSR certificate:
Check a private key:
Check a certificate:
Retrieve the MD5 hash of the public key to ensure that it corresponds to the CSR and the private key:
openssl x509 -noout -modulus -in {crt-cert} | openssl md5
openssl rsa -noout -modulus -in {key-cert} | openssl md5
openssl req -noout -modulus -in {csr-cert} | openssl md5
Check an SSL connection (All certificates, including intermediates will be displayed):
Display certificat of remote server:
echo | openssl s_client -showcerts -servername localhost -connect {host}:{port} 2>/dev/null | openssl x509 -inform pem -noout -text
Display End date certiifcate of remote server: