<?php
$curl = curl_init('https://letsencrypt.org/');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, true);
echo '<div style=color:green>' . htmlspecialchars(curl_exec($curl)) . '</div>' . PHP_EOL;
echo '<div style=color:red>' . curl_error($curl) . '</div>' . PHP_EOL;
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.1e-fips 11 Feb 2013
OpenSSL Header Version => OpenSSL 1.0.1e-fips 11 Feb 2013