Try the fastest and simplest way to install ONLYOFFICE

Onlyoffice Docker + Nextcloud with certs from internal CA

Issues during installation, usage and configuring

Onlyoffice Docker + Nextcloud with certs from internal CA

Postby supersonicwaffle » Tue Apr 17, 2018 5:57 am

Hey,

I hope someone can help me out with this.
I'm running https://github.com/nextcloud/vm and everything was working well until I wanted to move things over to certificates issued by my self signed internal CA.
Both the Nextcloud VM and the docker container trust the CA and doing a wget https://office.xxx.com/web-apps/api/documents/api.js works without a hiccup.
Apparently though getting NodeJS to trust these certificates is a major PITA, currently I get these error messages in /var/log/onlyoffice/documentserver/converter/out.log

Code: Select all
nodeJS - error downloadFile:url=https://cloud.xxx.com/apps/onlyoffice/download?doc=K01zS29TVUhhejYzYnoySktSVXhBUzAvN01TUkdTUmpBY0kyT044U2wrWT0/eyJmaWxlSWQiOjQ1MiwidXNlcklkIjoibmNhZG1pbiIsInRva2VuIjpudWxsLCJhY3Rpb24iOiJkb3dubG9hZCJ9;attempt=3;code:UNABLE_TO_VERIFY_LEAF_SIGNATURE;connect:undefined;(id=452_1517341481)
Error: unable to verify the first certificate


I have tried running the docker container with "-e NODE_TLS_REJECT_UNAUTHORIZED=0" for testing purposes to no avail.

Is there anything else I can do?

Cheers
supersonicwaffle
 
Posts: 2
Joined: Tue Apr 17, 2018 5:19 am

Re: Onlyoffice Docker + Nextcloud with certs from internal C

Postby Maxim » Thu Apr 19, 2018 11:22 am

Hello!
Please specify what version of the Document Server you have installed.
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: Onlyoffice Docker + Nextcloud with certs from internal C

Postby supersonicwaffle » Thu Apr 19, 2018 4:48 pm

Thanks Maxim.

Pardon my ignorance but could you please tell me of a good way to show the document server version?

Cheers
supersonicwaffle
 
Posts: 2
Joined: Tue Apr 17, 2018 5:19 am

Re: Onlyoffice Docker + Nextcloud with certs from internal C

Postby Maxim » Thu Apr 26, 2018 1:06 pm

Hello!
Code: Select all
docker ps
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest

cron