diff options
| author | jvoisin | 2018-08-29 08:55:49 +0000 |
|---|---|---|
| committer | xXx-caillou-xXx | 2018-08-29 10:55:49 +0200 |
| commit | 64e52596abaf4bdd4c17f79c4e8acf25d1a452b4 (patch) | |
| tree | 5452af804c25304cabe0f7e1160263fad25c3bf9 /doc/source/config.rst | |
| parent | a0300b15a3afffe02c737d263c3d6dd31ac307b7 (diff) | |
Verify certs (#223)
Ensure that certificates are verified in curl
should close #47
Diffstat (limited to 'doc/source/config.rst')
| -rw-r--r-- | doc/source/config.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index e209ecb..d89d7f5 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -202,6 +202,17 @@ to explicitly whitelist some `stream wrappers <https://secure.php.net/manual/en/ | |||
| 202 | sp.wrappers_whitelist.list("file,php,phar"); | 202 | sp.wrappers_whitelist.list("file,php,phar"); |
| 203 | 203 | ||
| 204 | 204 | ||
| 205 | Mandatory certificates validation | ||
| 206 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 207 | |||
| 208 | :ref:`Mandatory certificate validation <mandatory-cert-validation>` ensures | ||
| 209 | that it's not possible to turn off certificate validation for `cURL usage <https://secure.php.net/manual/en/book.curl.php>`__. | ||
| 210 | |||
| 211 | :: | ||
| 212 | |||
| 213 | sp.curl_verify_certificates.enable(); | ||
| 214 | |||
| 215 | |||
| 205 | Eval white and blacklist | 216 | Eval white and blacklist |
| 206 | ^^^^^^^^^^^^^^^^^^^^^^^^ | 217 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 207 | 218 | ||
