Hi, I have to maintain system that use traefik and I have to change certificate. When I changed it, I see log from traefik container like this, and my system cannot be accessed anymore :(. Can someone help me to find the problem cause, thank you.
This is the full error message I've got.
Unable to obtain ACME certificate for domains "reverse-proxy.traefik." detected thanks to rule "Host:reverse-proxy.traefik." : cannot obtain certificates: acme: Error 400 - urn:ietf:params:acme:error:rejectedIdentifier - Error creating new order :: Cannot issue for "reverse-proxy.traefik.": Domain name ends in a dot
This is my traefik.toml
debug = false
logLevel = "ERROR"
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "certs/cdgssl-2020.crt"
keyFile = "certs/cdgssl-2020.pem"
[retry]
[docker]
endpoint = "unix:///var/run/docker.sock"
# Specify root domain
domain = "alive-uat.cdg.co.th"
watch = true
exposedByDefault = false
[acme]
email = "natthanank14s@gmail.com"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
# Specify ACME domains (multiple domains with wildcards allowed)
[[acme.domains]]
main = "alive-uat.cdg.co.th"
# Specify DNS Challenge Provider
[acme.httpChallenge]
entryPoint = "http"