summaryrefslogtreecommitdiff
path: root/doc/source/config.rst
diff options
context:
space:
mode:
authorjvoisin2018-08-29 08:55:49 +0000
committerxXx-caillou-xXx2018-08-29 10:55:49 +0200
commit64e52596abaf4bdd4c17f79c4e8acf25d1a452b4 (patch)
tree5452af804c25304cabe0f7e1160263fad25c3bf9 /doc/source/config.rst
parenta0300b15a3afffe02c737d263c3d6dd31ac307b7 (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.rst11
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
205Mandatory certificates validation
206^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207
208:ref:`Mandatory certificate validation <mandatory-cert-validation>` ensures
209that 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
205Eval white and blacklist 216Eval white and blacklist
206^^^^^^^^^^^^^^^^^^^^^^^^ 217^^^^^^^^^^^^^^^^^^^^^^^^
207 218