mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
on centos7 the file is created only with -rw------- which makes konnect startup fail
This commit is contained in:
parent
d0d3d3c852
commit
897a0df433
@ -33,6 +33,7 @@ signkey="/kopano/ssl/konnectd-tokens-signing-key.pem"
|
|||||||
if [ ! -f $signkey ]; then
|
if [ ! -f $signkey ]; then
|
||||||
echo "creating new token signing key"
|
echo "creating new token signing key"
|
||||||
openssl genpkey -algorithm RSA -out $signkey.tmp -pkeyopt rsa_keygen_bits:4096
|
openssl genpkey -algorithm RSA -out $signkey.tmp -pkeyopt rsa_keygen_bits:4096
|
||||||
|
chmod go+r $signkey.tmp
|
||||||
mv $signkey.tmp $signkey
|
mv $signkey.tmp $signkey
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user