hi all,
after 2 weeks of heavy researching I finally succeeded connecting onlyoffice to nextcloud with self-signed certs. I installed nextcloud with snap on one machine, and onlyoffice on docker on another. What was probably the most important, I had to add nextcloud.local.org and onlyoffice.local.org to the hosts file on onlyoffice container.
However there is still one unbelievable problem.
I run whole local domain local.org on 192.168.1.0/24 subnet, with windows DC and DNS server. I can use nextcloud with onlyoffice from one Windows 11 VM (ip 192.168.1.33) with no problem, but when I run nextcloud with the same user on identical Windows 11 VM (ip 192.168.1.32) from same domain and try to open document, there is error “ONLYOFFICE cannot be reached. Please contact admin”. What is even more strange, I can open documents on nextcloud with onlyoffice from another computer (ip 192.168.0.201) not connected to the domain and from different subnet which has route to my domain.
Does it even matter from what computer the browser tries to access onlyoffice from the same nextcloud server GUI?
Am I missing something???
Problem was solved by connecting from browser to onlyoffice first, I guess when I choose to proceed with self signed certificate connection to onlyoffice was established.