Configurações em Execução
O comportamento dessas funções podem ser modificado pelas configurações do php.ini.
| Nome | Padrão | Modificável | Changelog |
|---|---|---|---|
| openssl.cafile | "" | PHP_INI_PERDIR | Available since PHP 5.6.0. |
| openssl.capath | "" | PHP_INI_PERDIR | Available since PHP 5.6.0. |
Here's a short explanation of the configuration directives.
-
openssl.cafilestring -
Location of Certificate Authority file on local filesystem which should be used with the verify_peer context option to authenticate the identity of the remote peer.
-
openssl.capathstring -
If cafile is not specified or if the certificate is not found there, the directory pointed to by capath is searched for a suitable certificate. capath must be a correctly hashed certificate directory.
See also the SSL stream context options.