Tag Archives: x509

Check If A Certificate & Private Key Match

Check if an SSL certificate and private key match in two simple commands. The OpenSSL commands below will require you to replace <file> with your file’s name. For your SSL certificate:1 openssl x509 -noout -modulus -in <file> | md5sum For your RSA private key: openssl rsa -noout -modulus -in <file> | md5sum The output of [...]