Configurația la rulare

Comportamentul acestor funcții este afectat de parametrii stabiliți în php.ini.

openssl Opțiuni de configurare pentru
Denumire Valoare implicită Poate fi modificată Jurnal al modificărilor
openssl.cafile "" PHP_INI_PERDIR Available as of PHP 5.6.0.
openssl.capath "" PHP_INI_PERDIR Available as of PHP 5.6.0.
Pentru mai multe detalii și definiții ale modurilor PHP_INI_* accesați Where a configuration setting may be set.

Iată o explicație pe scurt a directivelor de configurare.

openssl.cafile string

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.capath string

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.