PHP secure connection with WSDL service breaks after server renewed certificate
<p>The new certificate is "Symantec Class 3 EV SSL CA - G3". The client has CentOS. There is no control over the server, it is third party. When the WDSL https address is loaded in Firefox and Chrome, both browsers show "Secure connection", no problem.</p>

<p>The WSDL address is <a href="https://palena.sii.cl/DTEWS/CrSeed.jws?WSDL" rel="nofollow noreferrer">https://palena.sii.cl/DTEWS/CrSeed.jws?WSDL</a></p>

<p>Test code:</p>

<pre><code>$success = false;
$attempts = 0;

while (($success === false) &amp;&amp; ($attempts &lt; 10)) {
    $attempts ++;
    echo 'Attempt ' . $attempts . '&lt;br&gt;';

    try {
        $wsdl = 'https://palena.sii.cl/DTEWS/CrSeed.jws?WSDL';
        $entity_loader_status_old = libxml_disable_entity_loader(false);
        $SoapClient = new SoapClient($wsdl);
        $seed = $SoapClient -&gt; getSeed();
        libxml_disable_entity_loader($entity_loader_status_old);
        $success = true;
    } catch (Exception $Exception) {
        echo $Exception -&gt; getMessage() . '&lt;br&gt;';
    }
}

if ($success === true) {
    echo 'SUCCESS';
} else {
    echo 'ERROR';
}
</code></pre>

<p>The connection is secure by default, because the PHP version is 5.6.22 (more than 5.5.x).</p>