Reading SSL certificates in PHP

A recent project required me to write a automated SSL certificate checker that would ping me every-time a SSL renewal is due. The project required to parse a handful of client sites and get the SSL information.

Reading a SSL certificate directly from a domain is relatively simple in PHP. A working example function is given below.
Read More