# COOL package + SSL termination + Nextcloud

**URL:** <https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549>\
**Category:** Installation & Configuration\
**Tags:** resolved, answered\
**Created:** [January 5, 2023, 11:26am UTC](https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549 "2023-01-05T11:26:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![itcihef](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/itcihef/32/653_2.png) [@itcihef](https://forum.collaboraonline.com/u/itcihef)\
**Post date:** [January 5, 2023, 11:26am UTC](https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549/1 "2023-01-05T11:26:19Z")

</div>

Hello.

I am trying to make COOL work with my running nextcloud instance. I am almost there, but it still doesn’t work. Can you help?

My environment would be like:

- Debian (5.10.149-2) COOL package installed ;
- Apache2 with a VirtualHost “office dot domain dot com”, set for SSL termination, that lets certbot handle the certificates ;
- Nextcloud (24.0.8.2) hosted on “nuage dot domain dot com” using COOL to open my files.

Here is my config:

- The Debian COOL package is installed as in the doc “Installation\_from\_packages.html”.
- Nextcloud is up and running.
- So is certbot.
- My only Apache2 config file for COOL [reads as follow](https://paste.debian.net/1265931/). (domain SEDed of course).
- coolwsd.xml [reads as follow](https://pastebin.com/4Hr4aWJB).
- In Nextcloud’s “Nextcloud Office” settings, I set “Collabora Online server URL” to “https 🌡office.domain.com”. I save this, get an hypno wheel and I get the error: “Impossible to connect to Collabora Online server”.

In the meantime, I can reach /hosting/discovery and /browser/dist/admin/admin.html that says that the server is up and running.

What did I misconfigured?

---

<div class="post-metadata">

**Author:** ![wwe](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wwe/32/534_2.png) [@wwe](https://forum.collaboraonline.com/u/wwe)\
**Post date:** [January 9, 2023, 5:43pm UTC](https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549/2 "2023-01-09T17:43:50Z")

</div>

take a look at this article:

> **[Nextcloud Collabora integration](https://help.nextcloud.com/t/nextcloud-collabora-integration/151879)**
>
> ! this is a wiki article - everybody can improve ! Nextcloud integrates functionality to edit office documents online (even collaborative - meaning multiple user can work on the same document at same time). This integration primarily happens with...

as you say `/hosting/discovery` works (from client?) there might be an issue with DNS, network, firewall or TLS from the server trying to connect to itself. curl command as described above should help analyze the issue.

---

<div class="post-metadata">

**Author:** ![itcihef](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/itcihef/32/653_2.png) [@itcihef](https://forum.collaboraonline.com/u/itcihef)\
**Post date:** [January 16, 2023, 12:59pm UTC](https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549/3 "2023-01-16T12:59:30Z")

</div>

Thank you. Issue solved. curl wouldn’t work because my firewall was too tight. I keep the URL, it was very useful.

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [August 6, 2024, 11:11am UTC](https://forum.collaboraonline.com/t/cool-package-ssl-termination-nextcloud/1549/4 "2024-08-06T11:11:40Z")

</div>


