# Server gave HTTP response to HTTPS client

**URL:** <https://community.traefik.io/t/server-gave-http-response-to-https-client/1675>\
**Category:** Traefik v1\
**Tags:** docker-swarm\
**Created:** [September 18, 2019, 12:51pm UTC](https://community.traefik.io/t/server-gave-http-response-to-https-client/1675 "2019-09-18T12:51:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![daniel.tomcej](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/daniel.tomcej/32/262_2.png) [@daniel.tomcej](https://community.traefik.io/u/daniel.tomcej)\
**Post date:** [September 18, 2019, 1:46pm UTC](https://community.traefik.io/t/server-gave-http-response-to-https-client/1675/2 "2019-09-18T13:46:14Z")

</div>

Hello @jsaarela,

> The source code indicates (quick check) that whenever the --docker.tls option is active, the traefik built-in http client switches to https

That is correct. This is when you require TLS Authentication to communicate with your docker or swarm daemon.

> Sorry we cannot use letsencrypt but have to use non-self-signed certificates from a commercial source.

For protecting your docker daemon? It is unlikely that you would have a public certificate for this purpose, due to the DNS and other configuration required.

---

_[View the full topic](https://community.traefik.io/t/server-gave-http-response-to-https-client/1675)._
