Issue
- Before applying certificate to a CJE cluster, I would like to check the certificate and key I’m providing are matching.
Environment
Resolution
Given an nginx.cert
certificate and an nginx.key
key, you can verify that they are a match by running:
openssl x509 -noout -modulus -in nginx.cert | openssl md5
openssl rsa -noout -modulus -in nginx.key | openssl md5
And verify that both sums are equals.
0 Comments