# HTTPS let's encrypt not working

**URL:** <https://community.traefik.io/t/https-lets-encrypt-not-working/2956>\
**Category:** Traefik v2\
**Tags:** letsencrypt-acme, docker\
**Created:** [November 15, 2019, 6:52am UTC](https://community.traefik.io/t/https-lets-encrypt-not-working/2956 "2019-11-15T06:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![typo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/typo/32/1108_2.png) [@typo](https://community.traefik.io/u/typo)\
**Post date:** [November 15, 2019, 6:52am UTC](https://community.traefik.io/t/https-lets-encrypt-not-working/2956/1 "2019-11-15T06:52:52Z")

</div>

Hello

I have an issue with the configuration of traefik v2. I can't use the let's encrypt certificate.

I have this configuration : (I have replace : email, domain name and basicauth for the copy, but I have the good name in my server)

```auto
version: '3'

services:
  reverse-proxy:
    image: traefik:v2.0.4
    command:
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--entrypoints.http.address=:80"
      - "--entrypoints.https.address=:443"
      - "--certificatesResolvers.defaut.acme.email=<email>@gmail.com"
      - "--certificatesResolvers.defaut.acme.storage=acme.json"
      - "--certificatesResolvers.defaut.acme.httpChallenge=true"
      - "--certificatesResolvers.defaut.acme.httpChallenge.entryPoint=http"
      - "--log.level=debug"
      - "--log.filePath=/var/log/traefik.log"
    ports:
      - "80:80"
      - "443:443"
    expose:
      - 8080
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik_traefik"
      - "traefik.http.routers.traefik.rule=Host(`traefik.<website.com>`)"
      - "traefik.http.routers.traefik.entrypoints=http"
      - "traefik.http.middlewares.traefik-auth.basicauth.users=<auth64>"
      - "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
      - "traefik.http.routers.traefik-secure.entrypoints=https"
      - "traefik.http.routers.traefik-secure.rule=Host(`traefik.<website.com>`)"
      - "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
      - "traefik.http.routers.traefik-secure.tls=true"
      - "traefik.http.routers.traefik-secure.tls.certresolver=default"
      - "traefik.http.routers.traefik-secure.service=api@internal"
      - "traefik.http.services.traefik.loadbalancer.server.port=8080"
    networks:
      - traefik
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

networks:
    traefik:
        driver: "bridge"

```

And I can see the log `level=error msg="the router traefik-secure uses a non-existent resolver: default"`

I think, I have a bad configuration, but I don't found the correct configuration. Anynone for helping me ?

---

<div class="post-metadata">

**Author:** ![dduportal](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/dduportal/32/4_2.png) [@dduportal](https://community.traefik.io/u/dduportal)\
**Post date:** [November 15, 2019, 10:41am UTC](https://community.traefik.io/t/https-lets-encrypt-not-working/2956/2 "2019-11-15T10:41:09Z")

</div>

Hi @typo, there is typo (😅) in your naming:

the certificate resolver is named `defaut` (without an `l`), while the router reference it as `default` (with a `l` ). French overriding english 😉 heh ?

---

<div class="post-metadata">

**Author:** ![typo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/typo/32/1108_2.png) [@typo](https://community.traefik.io/u/typo)\
**Post date:** [November 15, 2019, 7:46pm UTC](https://community.traefik.io/t/https-lets-encrypt-not-working/2956/3 "2019-11-15T19:46:55Z")

</div>

Hi,  
very funny 😛 !  
Stupid mistake.. And you're right : I'm French 😛

Thank you very much
