diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-29 06:47:37 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-29 06:47:37 +0000 |
commit | 9fe55e16661a75bd639da1cb1fde70633d88ae37 (patch) | |
tree | 4e476c936bb6604ad1c9ff984957641ee5e7d942 /sca-cpp/trunk/modules/server/server-conf | |
parent | 0a3cd4a1e3659c3feb7a7933f4bc5993d62d3b7f (diff) |
Move SCA runtime SSL config from httpd-ssl-conf to server-conf, as it only applies to servers running the SCA runtime.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@928608 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/server/server-conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/server/server-conf b/sca-cpp/trunk/modules/server/server-conf index a31052af7a..ed5ead4cf5 100755 --- a/sca-cpp/trunk/modules/server/server-conf +++ b/sca-cpp/trunk/modules/server/server-conf @@ -26,6 +26,15 @@ port=`cat $root/conf/httpd.conf | grep Listen | tail -1 | awk '{ print $2 }'` ssl=`cat $root/conf/httpd.conf | grep "SSLEngine" | awk '{ print $2 }'` if [ "$ssl" = "on" ]; then protocol="https" + +cat >>$root/conf/httpd.conf <<EOF +# Configure SCA SSL support +SCASSLCACertificateFile "$root/conf/ca.crt" +SCASSLCertificateFile "$root/conf/server.crt" +SCASSLCertificateKeyFile "$root/conf/server.key" + +EOF + else protocol="http" fi |