Openssl Commands
March 18, 2025
Having the correct tool for the job is critical and when managing one’s PKI infrastructure, openssl is often the first command reached for in one’s toolbox and for good reason.
Modulus
View the modulus of a certificate
openssl x509 -in <certificate> -modulus -noout
View the Modulus of a Key
openssl rsa -in <keyfile> -noout -modulus
Certificates
View the entire certificate chain
openssl crl2pkcs7 -nocrl -certfile server_bundle.pem | openssl pkcs7 -print_certs -noout