summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-ca-conf
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-ca-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-ca-conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-ca-conf b/sca-cpp/trunk/modules/http/httpd-ca-conf
index 20efb441b5..f59ff71d46 100755
--- a/sca-cpp/trunk/modules/http/httpd-ca-conf
+++ b/sca-cpp/trunk/modules/http/httpd-ca-conf
@@ -21,11 +21,8 @@
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
host=$2
-if [ "$host" = "" ]; then
- host=`hostname -f`
-fi
-# Don't regenerate the certificate if it already exists
+# Don't override existing certificate
if [ -f $root/conf/ca.crt ]; then
return 0
fi