Description
Currently OpenSSL offers openssl.cafile and openssl.capath. In some cases it seems useful to control other verification like allow_self_signed.
This is related to the bug report https://bugs.php.net/bug.php?id=69319 which proposed stream_context_set_default but that's not possible due to BC impact and also does not make always sense from the logic point of view.