HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53aedbc
)
ca-install: permissions were only fixed in combined pem case
author
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:25:13 +0000
(16:25 -0400)
committer
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:25:13 +0000
(16:25 -0400)
Move chmod outside of the if so separate key/cert files are chmoded
instead.
ca-install
patch
|
blob
|
blame
|
history
diff --git
a/ca-install
b/ca-install
index
c008d2b
..
14e66fc
100755
(executable)
--- a/
ca-install
+++ b/
ca-install
@@
-128,8
+128,8
@@
if test -z "$KEY"; then
else
echo "Installing certificate and key to Apache SSL directory ..."
cat "$CERT" "$KEY" | ssh $WEBSERVER sudo tee "$APACHE_DEST" > /dev/null
- ssh $WEBSERVER sudo chmod 400 "$APACHE_DEST" > /dev/null
fi
+ssh $WEBSERVER sudo chmod 400 "$APACHE_DEST" > /dev/null
echo
# Grant Domtool permissions