Seafile and collabora

Hello everyone,

Im trying to integrate collabora with seafile.
I have configured collabora and get xml under https:ip:9980/hosting/discovery
i also have seafile configured over https with self signed certs.
im running under an internat network.
When i try to preview a document, nothing happen, i only can download it. i can see under seahub.log this error [ERROR] seahub.wopi.utils:95 get_wopi_dict [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

Does anyone know what im missing.
Thanks for your help.

Hi dmanguia,

Probably this thread can help: Seafile CE + Collabora integration

In fact your setup is different, you have self-signed certificates and you run the server on an internal network, but still…

Just a guess - try the following:

openssl genrsa -out /etc/loolwsd/key.pem 4096
openssl req -out /etc/loolwsd/cert.csr -key /etc/loolwsd/key.pem -new -sha256 -nodes
openssl x509 -req -days 365 -in /etc/loolwsd/cert.csr -signkey /etc/loolwsd/key.pem -out /etc/loolwsd/cert.pem
openssl x509 -req -days 365 -in /etc/loolwsd/cert.csr -signkey /etc/loolwsd/key.pem -out /etc/loolwsd/ca-chain.cert.pem

and in /etc/loolwsd/loolwsd.xml replace

localhost

with

your server FQDN, then restart it.

Good luck

well, im actually using docker for collabora. Do you think better to do it without it?

I do not know… I have struggled a lot with docker and could not get it working. But the steps I have done works, so I prefer it

ok, im going to try that steps and see what happen. thanks a lot

ive followed the instructions, but i cant get collabora working. when i enter to https:example.com get the nginx page, but with https:example.com:9980 nothing happen.
i reviewed the firewall and the port is open, but with netstat i cant see the port is listening.
maybe i ve to tell in somewhere to collaborate start in port 9980?
i ve ningx and loolwsd services running.
thanks

I really do not know :frowning: I have followed the steps and it worked for me. Please have a look at my environment, I have put the details at the beginning of my post. Also (I do not if it is related) I am using Let’s encrypt and not self-signed certificates.

may i have your .confif files please, i saw that your shared to someone but are not availabe anymore, aThanks