mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 05:42:54 +00:00
split up installation for core and kapi+grapi (#293)
* split up installation for core and kapi+grapi * add some debug output in case package installation fails * let konnect run as nobody * add code to check writing permissions for certificates and create certificates in container if possible * add tests to check on failed and successful certificate creation * add certificate creation logic from the konnect binfile * add env for custom dockerize timeout (to fail earlier in tests)
This commit is contained in:
+2
-2
@@ -42,9 +42,9 @@ if [ ! -f $enckey ]; then
|
||||
mv $enckey.tmp $enckey
|
||||
fi
|
||||
|
||||
# Konnect - create token signing key if not already present
|
||||
# Konnect - create token signing key if not already present
|
||||
signkey="/kopano/ssl/konnectd-tokens-signing-key.pem"
|
||||
if [ ! -f $signkey ]; then
|
||||
if [ ! -L $signkey ] && [ ! -f $signkey ]; then
|
||||
echo "Creating Konnect token signing key..."
|
||||
openssl genpkey -algorithm RSA -out $signkey.tmp -pkeyopt rsa_keygen_bits:4096 >/dev/null 2>&1
|
||||
chmod go+r $signkey.tmp
|
||||
|
||||
Reference in New Issue
Block a user