I encountered such issue on a server of a client as I did not know how to verify SSLCertificateChainFile among other certificates. I have a folder with a lot of SSL certificate keys and corresponding files (.crt, .key). Also, I know SSLCertificateFile and SSLCertificateKeyFile for my.example.com site. I have checked an MD5 hash between them:
openssl x509 -noout -modulus -in my-exam.crt| openssl md5
(stdin)= d41d8cd98f00b204e9800998ecf8427e
openssl rsa -noout -modulus -in my-exam.key | openssl md5
(stdin)= d41d8cd98f00b204e9800998ecf8427e
Other certificate files have other names and they are different from my-exam
.
My question is: How to find out SSLCertificateChainFile among other certificate files using OpenSSL if we have already known SSLCertificateFile and SSLCertificateKeyFile?