# I have a Cloudflare tunnel setup for my nextcloud that works with a browser but not on the desktop client or android app

**URL:** <https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122>\
**Category:** ℹ️ Support\
**Tags:** unraid\
**Created:** [May 14, 2023, 7:53pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122 "2023-05-14T19:53:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Numble01](https://help.nextcloud.com/user_avatar/help.nextcloud.com/numble01/32/51358_2.png) [@Numble01](https://help.nextcloud.com/u/Numble01)\
**Post date:** [May 14, 2023, 7:53pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/1 "2023-05-14T19:53:27Z")

</div>

### Cannot connect securely to nextcloud.@@@@@@@@@.uk:

The host name did not match any of the valid hosts for this certificate

### with Certificate [sni.cloudflaressl.com](http://sni.cloudflaressl.com)

Seen a few other posts with this but no clear solution to this ☹

---

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/6_22734026db12803ebb3e059622ac3534.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [May 14, 2023, 8:35pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/2 "2023-05-14T20:35:14Z")

</div>

Check cloudflare documentation and help forum.

Also,

Hi @Numble01,  
[You are missing the required support template. Please fill this form out](https://help.nextcloud.com/t/support-template-please-use-this-when-you-request-support/137402) and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

---

<div class="post-metadata">

**Author:** ![NaXal](https://help.nextcloud.com/letter_avatar/naxal/32/6_22734026db12803ebb3e059622ac3534.png) [@NaXal](https://help.nextcloud.com/u/NaXal)\
**Post date:** [May 15, 2023, 4:50am UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/3 "2023-05-15T04:50:09Z")

</div>

Hello,

I had similar issue, following action helped me to get app sync or auto upload working.

**Step 1 :-**

Install SSL Certificate in your nextcloud. Self-signed will do.

**Step 2 :-**

Under CloudFlare Tunnel, edit your public host name. There Enable **No TLS Verify** & **HTTP2 connection**

Change the service type to https and to its respective corresponding port.

![01](https://help.nextcloud.com/uploads/default/original/3X/d/d/dd456e469ef0e21f5ddc0eb7158a36ba8c8603dd.jpeg)

You may need to reboot the local server.

Thanks.

---

<div class="post-metadata">

**Author:** ![Numble01](https://help.nextcloud.com/user_avatar/help.nextcloud.com/numble01/32/51358_2.png) [@Numble01](https://help.nextcloud.com/u/Numble01)\
**Post date:** [May 15, 2023, 6:58pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/4 "2023-05-15T18:58:37Z")

</div>

Cheers, next is to figure out how to create and install the cert ☹

---

<div class="post-metadata">

**Author:** ![Numble01](https://help.nextcloud.com/user_avatar/help.nextcloud.com/numble01/32/51358_2.png) [@Numble01](https://help.nextcloud.com/u/Numble01)\
**Post date:** [May 21, 2023, 7:31pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/5 "2023-05-21T19:31:28Z")

</div>

Can’t seem to find a clear guide on how to install the ssl cert, do you know any good guides to use? thanks again! will this also cover the needed cert for using with setting up emails?

---

<div class="post-metadata">

**Author:** ![NaXal](https://help.nextcloud.com/letter_avatar/naxal/32/6_22734026db12803ebb3e059622ac3534.png) [@NaXal](https://help.nextcloud.com/u/NaXal)\
**Post date:** [May 22, 2023, 5:20am UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/6 "2023-05-22T05:20:49Z")

</div>

Hello,

> [@Numble01](#):
>
> do you know any good guides to use?

I use Snap Deployment, and it’s simple to install with single command

Refer here → [GitHub - nextcloud-snap/nextcloud-snap: ☁📦 Nextcloud packaged as a snap](https://github.com/nextcloud-snap/nextcloud-snap)

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:05pm UTC](https://help.nextcloud.com/t/i-have-a-cloudflare-tunnel-setup-for-my-nextcloud-that-works-with-a-browser-but-not-on-the-desktop-client-or-android-app/162122/7 "2024-09-23T16:05:36Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
