mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +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
|
||||
echo "creating new token signing key"
|
||||
openssl genpkey -algorithm RSA -out $signkey.tmp -pkeyopt rsa_keygen_bits:4096
|
||||
chmod go+r $signkey.tmp
|
||||
mv $signkey.tmp $signkey
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user