How to prepare certificate installation on a CJE cluster?

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.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.