This script do an HTTP request of a list of domain names storage in a CSV file or SQL database and fetches all the headers sent by the domain server returning an associate array with each domain header information.
When the list is on an SQL database, the script update the table of the list of domains adding to the database the resulting SSL status in an existing column named SSLcertificate.
To run the script, on the terminal command prompt write:
php domain-ssl-verify.php