I have a web form of simple control panel where users can enter their ssl certificate to use on new virtual host, is there a way to check that certificate at least in correct format and key is valid for certificate, before adding it to webserver config.
I have to use perl or javascript.
Looking for right direction to solve this.
Sounds like Crypt::OpenSSL::X509 could help on the perl implementation..