summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmklog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mklog.py b/mklog.py
index 8c7f89a..eb0f2bc 100755
--- a/mklog.py
+++ b/mklog.py
@@ -104,6 +104,8 @@ def make_certs(logname, nodenames):
shutil.copy(ca_cert, '../nodes/%s/cacert.pem' % nodename)
shutil.copy(cert, '../nodes/%s/webcert-%s.pem' % (nodename, nodename))
shutil.copy(key, '../nodes/%s/webkey-%s.pem' % (nodename, nodename))
+ os.chmod('../nodes/%s/webkey-%s.pem' % (nodename, nodename),
+ stat.S_IRUSR | stat.S_IWUSR)
os.chdir('..')
return True