Try the fastest and simplest way to install ONLYOFFICE

Setup with SSL

Questions/problems on Docker

Setup with SSL

Postby Taste » Thu May 04, 2017 8:57 am

Hi,
i have successfully runing OO in Docker on Nextcloud with http. Now i tried to setup more secure with ssl / https. I have run nc as https://cloud.domain.tld, the cert came from lets encrypt, the oo documentserver is reachable over http://domain.tld:8888. Actual i cant edit documents in nc "oo not reached", i think because of https and http problem. So i dont know how exactly setup this as https for oo document server. i read the howto on github for selfsigned cert, but it didnt help me much. Perhaps someone can help.
thx
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Setup with SSL

Postby Maxim » Thu May 04, 2017 9:23 am

Hello Taste!
Specify please what instruction did you follow to configure ssl / https?
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: Setup with SSL

Postby Taste » Thu May 04, 2017 10:09 am

Hi,
actuall i only read the document to understand the next steps to do. So situation is working NC with https on subdomain e.g. cloud.domain.tld over Lets Encrypt. Installed OO Document Server via Docker Container. Docker and Container are running. App in NC is installed. So my problem with understanding is - how to get the which cert into OO? Next i think i have to start OO in docker with parameter for DATA Dir: -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data. Can i take the lets encrypt .key und .cert from domain.tld and copy them into the data folder, or how to proceed?
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am

Re: Setup with SSL

Postby Maxim » Thu May 04, 2017 11:11 am

Running ONLYOFFICE Document Server using HTTPS
So you need to put SSL certs into /app/onlyoffice/DocumentServer/data/certs/
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: Setup with SSL

Postby Taste » Thu May 04, 2017 11:20 am

Hi,
yes thats the howto i talk about. But which one? This from the domain.tld? And redirect port like this 8888:443 ?

edit: i do
- mount the data folder
- i created the certs folder
- i copied the org .crt, .key and .pem files to the folder, but names from domain and nocht like the howto said as onlyoffice... named.
=> it didnt work, the document server cant reached - connection forbidden -

edit2: since it must work i tried the howto with selfsign cersts
- restart docker with oo
- as aspekted the browser gave a warning for document server
- but in nc on setup the adress i got bad request or timeout, so i cant save this settings https://domain.tld:8888

final:
- i works - i copied keys from letsencrypt domain.tld and have to rename them. BUT first i want to use the symlink from live folder, but i notice that docker cant handle these symlinks. These symlinks usefull since they files changing frequently and i now have only a copy of the actual files. So please give me a info about that. thx
Taste
 
Posts: 29
Joined: Fri Apr 28, 2017 11:34 am


Return to Docker Version

Who is online

Users browsing this forum: No registered users and 1 guest

cron