Here is how to solve the following error in WHM / cPanel: stream_socket_enable_crypto(): Peer certificate CN=`xxxx.com' did not match expected CN=`smtp.sendgrid.net' As of PHP 5.6 peer verification is enabled by default (). If you are running WHM /...