Certificate Key Matcher
Match Your SSL & Private Key Pairs
Whether you're renewing your SSL certificate or installing a new one, you must verify CSR and Private Key before proceeding with the installation process. Fortunately for you, this is pretty easy. Using below-listed OpenSSL commands, you can check which CSR belongs to which certificate and similarly, which private key corresponds to which certificate.
openssl pkey -in privateKey.key -pubout -outform pem | sha256sum
openssl x509 -in certificate.crt -pubkey -noout -outform pem | sha256sum
openssl req -in CSR.csr -pubkey -noout -outform pem | sha256sum