Hello,
Document Server from ONLYOFFICE Workspace cannot be integrated with other document management systems. I recommend installing a separate Document Server for this purpose:
https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx
As for the certificate issue, please enable the ‘disable certificate verification’ option in the connector settings and check if the issue persists.