https://www.php-resource.de/de/php-manual/openssl.cert.verification.html