ONLYOFFICE® is an online office suite integrated with a collaboration platform to manage documents, projects,team and customer relations in one place [ www.onlyoffice.com]. We have been using this product along with ownCloud® web application for several years and it provides an online platform to create/edit documents/slides/sheets stored in ownCloud environment. running only off on secure environment (SSL) is the recommended best practices after configure ssl certificate, on onlyoffece server when you try to integrate onlyoffice with ownCloud from ownCloud admin interface ,you may get "unable to verify the first certificate in nodejs" error message.
Flow the below steps to rectify the issue.
1) Set 'rejectUnauthorized' to false as follow:
root@<Docker ID>:/# nano /etc/onlyoffice/documentserver/default.json