# SSL cert for nextcloud docker container

**URL:** <https://help.nextcloud.com/t/ssl-cert-for-nextcloud-docker-container/47521>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Created:** [February 13, 2019, 6:47pm UTC](https://help.nextcloud.com/t/ssl-cert-for-nextcloud-docker-container/47521 "2019-02-13T18:47:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [February 14, 2019, 8:37am UTC](https://help.nextcloud.com/t/ssl-cert-for-nextcloud-docker-container/47521/4 "2019-02-14T08:37:06Z")

</div>

> [@bkeating178](#):
>
> how would I go about doing that?

you may look at the [paulczar/omgwtfssl](https://hub.docker.com/r/paulczar/omgwtfssl) docker image. it’s a docker container to generate certificate. additional in the readme you find hints how to use these certificates.

> [@bkeating178](#):
>
> do you know

where did you get the error? blank browser page? browser page saying wrong certificate?

> [@bkeating178](#):
>
> acting as webservers with backend traffic

the docker gurus use [traefik](http://traefik.io/) or nginx (or haproxy) for this purpose.

> [@bkeating178](#):
>
> Is that even possible with docker?

that’s not a docker problem.  
an example setup with traefik in front of several docker container you can find here: [GitHub - ReinerNippes/nextcloud\_on\_docker: Run Nextcloud in Docker Container on various Linux Hosts](https://github.com/ReinerNippes/nextcloud_on_docker)  
some ideas about nextcloud cluster you find here: [Help needed to setup a NC14 cluster - #5 by Finalls](https://help.nextcloud.com/t/help-needed-to-setup-a-nc14-cluster/39707/5)  
everything in the diagram you can put in a docker container.

---

_[View the full topic](https://help.nextcloud.com/t/ssl-cert-for-nextcloud-docker-container/47521)._
