mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2026-03-14 14:25:49 +01:00
LO 6.0.30, fix SSL issues, Stop pinning LibSSL from Debian Jessie
This commit is contained in:
parent
08ca6f3d52
commit
ff7129ac34
3 changed files with 23 additions and 22 deletions
|
|
@ -4,6 +4,9 @@
|
|||
if [ "$DEBUG_MODE" = "TRUE" ] || [ "$DEBUG_MODE" = "true" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
LOG_LEVEL=${LOG_LEVEL:-"information"}
|
||||
|
||||
echo "** [libreoffice-online] Setting configuration"
|
||||
|
||||
mkdir -p /var/log/lool
|
||||
|
|
@ -31,7 +34,7 @@ openssl req -x509 -new -nodes -key certs/ca/root.key.pem -days 9131 -out certs/c
|
|||
Authority/CN=Dummy Authority"
|
||||
mkdir -p certs/{servers,tmp}
|
||||
mkdir -p "certs/servers/localhost"
|
||||
openssl genrsa -out "certs/servers/localhost/privkey.pem" 2048 -key "certs/servers/localhost/privkey.pem"
|
||||
openssl genrsa -out "certs/servers/localhost/privkey.pem" 2048
|
||||
if test "${cert_domain-set}" == set; then
|
||||
openssl req -key "certs/servers/localhost/privkey.pem" -new -sha256 -out "certs/tmp/localhost.csr.pem" -subj "/C=XX/ST=XX/L=XX/O=Dummy Authority/CN=localhost"
|
||||
else
|
||||
|
|
@ -42,6 +45,7 @@ mv certs/servers/localhost/privkey.pem /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
|
||||
rm -rf /tmp/ssl
|
||||
chown lool /etc/loolwsd/*.pem
|
||||
fi
|
||||
|
||||
# Replace Configureation directives
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue