Не работает сертификат
Запускаю traefik с пример из документации. Не работает tls:
time="2020-06-23T21:54:24Z" level=error msg="failed to load X509 key pair: tls: failed to find any PEM data in certificate input"
time="2020-06-23T21:54:24Z" level=error msg="Unable to add a certificate to the entryPoint \"https\" : unable to generate TLS certificate : tls: failed to find any PEM data in certificate input"
time="2020-06-23T21:54:25Z" level=error msg="failed to load X509 key pair: tls: failed to find any PEM data in certificate input"
Конфиг:
logLevel = "ERROR"
# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
defaultEntryPoints = ["http", "https", "auth"]
[web]
# Port for the status page
address = ":8080"
# Entrypoints, http and https
[entryPoints]
# http should be redirected to https
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
# https is the default
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "learn.fless.pro.cert"
keyFile = "learn.fless.pro.key"
[entryPoints.auth]
address = ":61295"
[entryPoints.auth.tls]
# [[entryPoints.https.tls.certificates]]
# certFile = "/home/eurvanov/grader-v2-deploy/traefik/learn.fless.pro.cert"
# keyFile = "/home/eurvanov/grader-v2-deploy/traefik/learn.fless.pro.key"
# [acme]
# email = "[email protected]"
# storageFile = "/etc/traefik/acme/acme.json"
# entryPoint = "https"
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "a.b.c"
watch = true
exposedbydefault = false