summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/ssl-ca-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 07:42:01 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 07:42:01 +0000
commit4edb611792cbf0a3335631a181c15095e81e8afa (patch)
tree111cbec79d7b2861396fe886004f3be58635e99d /sca-cpp/trunk/modules/http/ssl-ca-conf
parentd7069b5a2e7859ab14c5a909d5e5fc6bc84b80cb (diff)
Minor changes to server config scripts to get auth and session management to behave the same with or without a proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/ssl-ca-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/ssl-ca-conf5
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
+