Налаштування під час виконання

На поведінку цих функцій випливають налаштування в php.ini.

openssl Параметри конфігурації
Назва Початково Де можна змінювати Журнал змін
openssl.cafile "" INI_PERDIR  
openssl.capath "" INI_PERDIR  
Докладніша інформація та визначення режимів INI_* на сторінці Де можна встановлювати параметри конфігурації.

Тут є коротке пояснення директив конфігурації.

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.