Force use of latest cacert.pem from Mozilla

This commit is contained in:
Kijin Sung 2021-01-20 00:56:23 +09:00
parent 0079fc7b38
commit 1bbd6cdb5f
3 changed files with 3236 additions and 1 deletions

View file

@ -285,6 +285,10 @@ class Context
exit;
}
// Load certificate authorities for curl and openssl.
ini_set('curl.cainfo', RX_BASEDIR . 'common/libraries/cacert.pem');
ini_set('openssl.cafile', RX_BASEDIR . 'common/libraries/cacert.pem');
// Load language support.
$enabled_langs = self::loadLangSelected();
$set_lang_cookie = false;