# Disable HTTPS or configure get Let's Encrypt DNS challenge

**URL:** <https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746>\
**Category:** Self-hosting\
**Created:** [May 20, 2024, 7:58pm UTC](https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746 "2024-05-20T19:58:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Marek\_Wojtaszek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marek_wojtaszek/32/380033_2.png) [@Marek\_Wojtaszek](https://meta.discourse.org/u/Marek_Wojtaszek)\
**Post date:** [May 20, 2024, 7:58pm UTC](https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746/1 "2024-05-20T19:58:58Z")

</div>

This is my third post on that, I am so sorry to flood you with that, but I here wanted make the thread as simple as possible.

I have horrible issues with getting the HTTP based Let’s Encrypt certificates since my server is not accessible to the external world over HTTP port, and I am really tired of that. Especially that my Discourse server is hidden behind the Cloudflare tunnel, so **I do not need SSL at all** as the certs are being served by Cloudflare tunnel for me.

So my question is simple:

- how can I disable port 443 (HTTPS) at all for Discourse to get rid of the LE cert creation nightmare  
or
- how can I configure the SSL cert creation with the DNS challenge, where I could provide my email address and the Cloudflare global API key

Thanks in advance for you help!

---

_[View the full topic](https://meta.discourse.org/t/disable-https-or-configure-get-lets-encrypt-dns-challenge/308746)._
