Traefik将发行证书而不是Let's加密

时间:2018-01-23 18:08:35

标签: ssl lets-encrypt traefik

我正在尝试设置traefik以及本教程:https://www.digitalocean.com/community/tutorials/how-to-use-traefik-as-a-reverse-proxy-for-docker-containers-on-ubuntu-16-04

这是我正在使用的traefik.toml:

defaultEntryPoints = ["http", "https"]

[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
      entryPoint = "https"
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]

[web]
address = ":8080"
  [web.auth.basic]
  users = [myuserandpw]

[acme]
email = "myemailadress"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
onDemand = false

当我想打开监视器仪表板时,现在发生的事情是我收到警告,提示我的连接不安全。它声明我的网站使用的是自签名证书(错误代码:SEC_ERROR_UNKOWN_ISSUER)。这是真的,因为正在使用traefik默认证书而不是来自let加密的新证书。这可能是什么原因?