# Letsencypt as the traefik default certificate

**URL:** <https://community.traefik.io/t/letsencypt-as-the-traefik-default-certificate/10085>\
**Category:** Traefik v2\
**Tags:** docker, letsencrypt-acme\
**Created:** [March 17, 2021, 8:36am UTC](https://community.traefik.io/t/letsencypt-as-the-traefik-default-certificate/10085 "2021-03-17T08:36:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerhat](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/jerhat/32/3555_2.png) [@jerhat](https://community.traefik.io/u/jerhat)\
**Post date:** [March 17, 2021, 8:36am UTC](https://community.traefik.io/t/letsencypt-as-the-traefik-default-certificate/10085/1 "2021-03-17T08:36:34Z")

</div>

Hi,

I've got a traefik v2 instance running inside docker (using `docker-compose`). It is managing multiple certificates using the `letsencrypt` resolver. It terminates TLS connections and then routes to various containers based on `Host` rules. This all works fine.

Now I have one service for which clients won't send the SNI TLS header extension. So those clients are always served with the traefik default certificate.

In order to workaround this I have added one of those 'certificate dumper' dockers (`humenius/traefik-certs-dumper`) that extracts the correct certificate from `acme.json` and writes it to the traefik default certificate store.

While this is working fine, this really feels hacky. Is there a cleaner way to get traefik to use a letsencrypt certificate as its default one?

Thank you
