Checks that a certificate / key / csr matches in a given directory.
A simple CLI tool to quickly check that a certificate and a key match. Can also check for CSR validity.
composer global require becklyn/cert-key-matcher
Just call the CLI command in the directory containing the files.
Checks for the following file extensions:
.keyfor key files
.crtfor cert files
.csrfor csr files