diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-12-06 23:47:49 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-12-06 23:47:49 +0100 |
commit | 30b8170fab303b98c905db2bec7f6967c2e74c77 (patch) | |
tree | df4adf6531fe4759e82fe34c841f79e8e1ce4af2 /docker/scripts | |
parent | 70fe177a0fda5246e01fc12ce59a6e45cca6f303 (diff) |
docker: fix permission (owner) of /etc/loolwsd/key.pem
Change-Id: I9e0a9d8bc8c0fc0119e9c66389c1012023046c89
Diffstat (limited to 'docker/scripts')
-rwxr-xr-x | docker/scripts/run-lool.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/scripts/run-lool.sh b/docker/scripts/run-lool.sh index a283672b4..f9ec69338 100755 --- a/docker/scripts/run-lool.sh +++ b/docker/scripts/run-lool.sh @@ -23,6 +23,7 @@ openssl genrsa -out "certs/servers/localhost/privkey.pem" 2048 -key "certs/serve openssl req -key "certs/servers/localhost/privkey.pem" -new -sha256 -out "certs/tmp/localhost.csr.pem" -subj "/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost" openssl x509 -req -in certs/tmp/localhost.csr.pem -CA certs/ca/root.crt.pem -CAkey certs/ca/root.key.pem -CAcreateserial -out certs/servers/localhost/cert.pem -days 9131 mv certs/servers/localhost/privkey.pem /etc/loolwsd/key.pem +chown lool: /etc/loolwsd/key.pem mv certs/servers/localhost/cert.pem /etc/loolwsd/cert.pem mv certs/ca/root.crt.pem /etc/loolwsd/ca-chain.cert.pem fi |