Added config parameter to allow self-signed certificates for the HTTP client

This commit is contained in:
Frederic Guillot
2016-06-05 15:42:22 -04:00
parent cd4c09c10a
commit cf7bac1860
5 changed files with 25 additions and 4 deletions

View File

@@ -267,8 +267,8 @@ Session
define('SESSION_DURATION', 0);
```
HTTP client proxy
-----------------
HTTP Client
-----------
If external HTTP requests need to be sent through a proxy:
@@ -279,6 +279,13 @@ define('HTTP_PROXY_USERNAME', '');
define('HTTP_PROXY_PASSWORD', '');
```
To allow self-signed certificates:
```php
// Set to false to allow self-signed certificates
define('HTTP_VERIFY_SSL_CERTIFICATE', true);
```
Various settings
----------------