X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=apache%2Funfold-init-ssl.sh;h=69be3283867b0d494fddf0eb3657c1e90b76ab99;hp=74c1c32a474f248117c4ee61198aafdc80ef1278;hb=a11e7b0d7951b328f0f07ffedd679128d7bb8586;hpb=dcd1b07f1d6a300dd561d67d70bdbec3e6fa801a diff --git a/apache/unfold-init-ssl.sh b/apache/unfold-init-ssl.sh index 74c1c32a..69be3283 100755 --- a/apache/unfold-init-ssl.sh +++ b/apache/unfold-init-ssl.sh @@ -10,6 +10,8 @@ trusted_roots=/etc/unfold/trusted_roots key=/etc/unfold/myslice.key cert=/etc/unfold/myslice.cert +# provide a hostname as the first arg to this command +# (otherwise we use hostname) if [[ -n "$@" ]] ; then hostname=$1; shift; else hostname=$(hostname); fi function init_trusted_roots () {