NS8 Webserver: problems with CA verification

I think it’s about a wrong openssl config.

Here is an insecure workaround:

<?php
$options=array(
    "ssl"=>array(
        "verify_peer"=>false,
        "verify_peer_name"=>false
    ),
);
echo file_get_contents("https://download.q-i.it/docs/miniwre/latest/en_version.txt", false, stream_context_create($options));
?>

The better method would be to configure the right ca cert but I didn’t find it yet.

EDIT:

Maybe related:

1 Like