php file to manage SSL certificates and Chains