# Https for a docker

**URL:** <https://community.letsencrypt.org/t/https-for-a-docker/231991>\
**Category:** Help\
**Created:** [January 14, 2025, 2:44pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991 "2025-01-14T14:44:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blackdragon](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@Blackdragon](https://community.letsencrypt.org/u/Blackdragon)\
**Post date:** [January 14, 2025, 2:44pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/1 "2025-01-14T14:44:27Z")

</div>

i want to provide a https for open webui docker image in Linux ubuntu 24.4.

My domain is:hussainali83.shop

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [January 14, 2025, 3:03pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/2 "2025-01-14T15:03:15Z")

</div>

Hello @Blackdragon,

What is the issue that is blocking your goal?

---

<div class="post-metadata">

**Author:** ![Blackdragon](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@Blackdragon](https://community.letsencrypt.org/u/Blackdragon)\
**Post date:** [January 16, 2025, 5:04pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/3 "2025-01-16T17:04:48Z")

</div>

hi @Bruce5051 this message appears to me

"Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

Some challenges have failed.  
Ask for help or search for solutions at [https://community.letsencrypt.org](https://community.letsencrypt.org). See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details."

[Configure SSL for Zabbix Server Front End - Zabbix Tutorials](https://sbcode.net/zabbix/config-ssl-cert/) i have used the same steps that i applied for zabbix and it work. but for open webui im not sure since the app is a docker based platform!

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [January 16, 2025, 5:07pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/4 "2025-01-16T17:07:35Z")

</div>

Hi @Blackdragon,

Please show the output of each of the following commands

- `sudo certbot --version`
- `sudo certbot certificates`
- `sudo apachectl -t -D DUMP_VHOSTS`

---

<div class="post-metadata">

**Author:** ![Blackdragon](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@Blackdragon](https://community.letsencrypt.org/u/Blackdragon)\
**Post date:** [January 16, 2025, 8:06pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/5 "2025-01-16T20:06:11Z")

</div>

@Bruce5051

 ![image](https://global.discourse-cdn.com/letsencrypt/original/3X/f/2/f26932219af7be633934b01b8c8f4ea47c3d567b.png)  
would like to access to my docker container open webui  
main host IP 192.168._ **.** _:3000

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [January 16, 2025, 8:50pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/7 "2025-01-16T20:50:35Z")

</div>

@Blackdragon,

Kindly wait for more knowledgeable Let's Encrypt community volunteers to assist.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 16, 2025, 9:01pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/8 "2025-01-16T21:01:14Z")

</div>

> [@Blackdragon](#):
>
> hussainali83.shop

You need to get basic HTTP communications working before you can get a certificate using the HTTP Challenge.

Right now I see your domain is proxied at Cloudflare. And, requests from the Cloudflare Edge to your Origin server fail with a 520. Probably because your Origin server is not replying to HTTP requests properly.

We are not a general purpose site for setting up servers. Maybe try a Docker forum. Or, even the Cloudflare community.

Once you get HTTP connections working, look at Cloudflare CA Origin cert. This may be easier than using a Let's Encrypt cert.

See this: [Troubleshooting Cloudflare 5XX errors · Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-520-web-server-returns-an-unknown-error)

And perhaps this: [https://community.cloudflare.com/t/community-tip-fixing-error-520-web-server-is-returning-an-unknown-error/44205](https://community.cloudflare.com/t/community-tip-fixing-error-520-web-server-is-returning-an-unknown-error/44205)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 15, 2025, 9:01pm UTC](https://community.letsencrypt.org/t/https-for-a-docker/231991/9 "2025-02-15T21:01:42Z")

</div>

Closed on February 15, 2025, 9:01pm UTC

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