mirror of
https://github.com/humhub/humhub.git
synced 2025-04-22 08:03:35 +02:00
Bundle root certificates
This commit is contained in:
parent
67b24d5bc7
commit
f5e732e0d8
3860
protected/config/cacert.pem
Normal file
3860
protected/config/cacert.pem
Normal file
File diff suppressed because it is too large
Load Diff
@ -243,9 +243,11 @@ class OnlineModuleManager
|
||||
CURLOPT_SSL_VERIFYPEER => (Yii::app()->getModule('admin')->marketplaceApiValidateSsl) ? true : false,
|
||||
CURLOPT_SSL_VERIFYHOST => (Yii::app()->getModule('admin')->marketplaceApiValidateSsl) ? 2 : 0,
|
||||
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
||||
CURLOPT_CAINFO => Yii::app()->getBasePath() . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'cacert.pem'
|
||||
);
|
||||
|
||||
|
||||
if (HSetting::Get('enabled', 'proxy')) {
|
||||
$options[CURLOPT_PROXY] = HSetting::Get('server', 'proxy');
|
||||
$options[CURLOPT_PROXYPORT] = HSetting::Get('port', 'proxy');
|
||||
|
Loading…
x
Reference in New Issue
Block a user