How to prepare certificate installation on a CJE cluster?

Article ID:360029171671
1 minute readKnowledge base

Issue

  • Before applying certificate to a CJE cluster, I would like to check the certificate and key I’m providing are matching.

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.