# HTTPS : issue while trying to set up SSL certification

**URL:** <https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014>\
**Category:** Self-hosting\
**Created:** [August 28, 2019, 11:22am UTC](https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014 "2019-08-28T11:22:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nekodroid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nekodroid/32/154550_2.png) [@nekodroid](https://meta.discourse.org/u/nekodroid)\
**Post date:** [August 28, 2019, 11:22am UTC](https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014/1 "2019-08-28T11:22:45Z")

</div>

Hey there !

So I was trying to enable HTTPS for my website following [this nice tutorial](https://meta.discourse.org/t/setting-up-https-support-with-lets-encrypt/40709). Everything went fine until I tried rebuilding the app, typing `./launcher rebuild app`.

I ran `discourse-doctor` to try figuring this out and I finally found something :

```plaintext
==================== END REBUILD LOG ====================
Failed to rebuild app.

Checking your domain name . . .

Connection to discourse.mydomain.com succeeded.
You should probably remove any non-standard plugins and rebuild.
Attempting to restart existing container. . .

starting up existing container
+ /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint app (some_random_characters): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
Error: failed to start containers: app
Failed to restart the container.

```

Note : I’ve replaced a long chain of characters with `some_random_characters` and my domain name with `discourse.mydomain.com`.

This pretty weird since I sticked up to the tutorial ; I have no idea of how to fix this.

Any help would be greatly appreciated !

Have a nice day,

nekodroid

---

_[View the full topic](https://meta.discourse.org/t/https-issue-while-trying-to-set-up-ssl-certification/127014)._
