First:
It's my first try to create a document server combination with a nextcloud instance.
My main Problem is, that my SSL certificate isn't valid. -> You can connect via :443 and https without any problem.
I don't know why..
This is the tutorial which I used:
https://helpcenter.onlyoffice.com/de/se ... https.aspx
openssl genrsa -out onlyoffice.key 2048
openssl req -new -key onlyoffice.key -out onlyoffice.csr
openssl x509 -req -days 365 -in onlyoffice.csr -signkey onlyoffice.key -out onlyoffice.crt
openssl dhparam -out dhparam.pem 2048
then:
mkdir -p /app/onlyoffice/CommunityServer/data/certs
cp onlyoffice.key /app/onlyoffice/CommunityServer/data/certs/
cp onlyoffice.crt /app/onlyoffice/CommunityServer/data/certs/
cp dhparam.pem /app/onlyoffice/CommunityServer/data/certs/
chmod 400 /app/onlyoffice/CommunityServer/data/certs/onlyoffice.key
After that:
docker run -i -t -d -p 80:80 -p 443:443 \
-v /app/onlyoffice/CommunityServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/CommunityServer/data:/var/www/onlyoffice/Data onlyoffice/communityserver
is that correct?
do i need to set more configuration parameters for the ssl cert like so?:
docker run -i -t -d -p 80:80 -p 443:443 \
-v /app/onlyoffice/CommunityServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/CommunityServer/data:/var/www/onlyoffice/Data
-e SSL_KEY_PATH=/app/onlyoffice/CommunityServer/data/certs/onlyoffice.key \
onlyoffice/communityserver
Thanks for your answer!
I'm ready to learn new things
