diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/http/ssl-ca-conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/ssl-ca-conf b/sca-cpp/trunk/modules/http/ssl-ca-conf index bceca8f300..beadc4d3a8 100755 --- a/sca-cpp/trunk/modules/http/ssl-ca-conf +++ b/sca-cpp/trunk/modules/http/ssl-ca-conf @@ -94,3 +94,8 @@ mkdir -p $root/cert/hash cp $root/cert/ca.crt $root/cert/hash perl /usr/bin/c_rehash $root/cert/hash +# Build CA certificate bundle +curl_prefix=`cat $here/../http/curl.prefix` +cp $curl_prefix/lib/cacert.pem $root/cert/cacert.pem +cat $root/cert/ca.crt >> $root/cert/cacert.pem + |