From b4057cfeb494dac9ad650e7deadec695c20dc912 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 13 Feb 2013 20:09:30 -0800 Subject: use our own CA bundle as authoritative for backend communications. This avoids OS dependent CA validity mismatches. --- boot.php | 5 + include/network.php | 9 + include/zot.php | 23 +- library/cacert.pem | 3895 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 3928 insertions(+), 4 deletions(-) create mode 100644 library/cacert.pem diff --git a/boot.php b/boot.php index 541703b99..eb173d16a 100644 --- a/boot.php +++ b/boot.php @@ -2141,3 +2141,8 @@ function construct_page(&$a) { return; } + + +function appdirpath() { + return dirname(__FILE__); +} diff --git a/include/network.php b/include/network.php index 321eb375f..ecc54d818 100644 --- a/include/network.php +++ b/include/network.php @@ -1,6 +1,11 @@