Add more verification for external certificates
Migrated from: https://tracker.clearos.com/view.php?id=16961
Reported by: Peter Baldwin
The external certificate API checks for valid key/certificate file formats, but it can also check to make sure the certificate and key pair are correct, even for 3rd party certificates.
Details here: https://www.namecheap.com/support/knowledgebase/article.aspx/9771/2238/apache-error-x509checkprivatekeykey-values-mismatch