So I recently got myself an new domain and wanted to add it to traefik but it does not create an certificate for the new domain and I don't know what I done wrong I just used the config just like for my other containers... the thing is I can see the container and my domain on the treafik dashboard
(for the creation of the certificates I use the LetsEncrypt option)
This is container:
And when I check inside the acme file (where the certificates are stored) there is no certificate and I also keep on trying to open the webpage but it does not work it keeps on saying it does not have an SSL-Certificate and I don't know what to do.
Anyway I thank anyone for their help in advance and thanks!
time="2023-12-19T07:54:11-05:00" level=debug msg="Trying to challenge certificate for domain [DOMAIN.tf www.DOMAIN.tf] found in HostSNI rule" rule="Host(`DOMAIN.tf`, `www.DOMAIN.tf`)" providerName=http.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=DOMAIN@docker
time="2023-12-19T07:54:11-05:00" level=debug msg="Looking for provided certificate(s) to validate [\"DOMAIN.tf\" \"www.DOMAIN.tf\"]..." providerName=http.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=DOMAIN@docker rule="Host(`DOMAIN.tf`, `www.DOMAIN.tf`)"
time="2023-12-19T07:54:11-05:00" level=debug msg="Domains [\"DOMAIN.tf\" \"www.DOMAIN.tf\"] need ACME certificates generation for domains \"DOMAIN.tf,www.DOMAIN.tf\"." providerName=http.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=DOMAIN@docker rule="Host(`DOMAIN.tf`, `www.DOMAIN.tf`)"
time="2023-12-19T07:54:11-05:00" level=debug msg="Loading ACME certificates [DOMAIN.tf www.DOMAIN.tf]..." providerName=http.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=DOMAIN@docker rule="Host(`DOMAIN.tf`, `www.DOMAIN.tf`)"
time="2023-12-19T07:54:11-05:00" level=debug msg="legolog: [INFO] [DOMAIN.tf, www.DOMAIN.tf] acme: Obtaining bundled SAN certificate"
time="2023-12-19T07:54:13-05:00" level=debug msg="legolog: [INFO] [www.DOMAIN.tf] AuthURL: https://acme-v02.api.letsencrypt.org/<nty>"
time="2023-12-19T07:54:13-05:00" level=debug msg="legolog: [INFO] [DOMAIN.tf] acme: authorization already valid; skipping challenge"
time="2023-12-19T07:54:13-05:00" level=debug msg="legolog: [INFO] [www.DOMAIN.tf] acme: Could not find solver for: tls-alpn-01"
time="2023-12-19T07:54:13-05:00" level=debug msg="legolog: [INFO] [www.DOMAIN.tf] acme: use http-01 solver"
time="2023-12-19T07:54:13-05:00" level=debug msg="legolog: [INFO] [www.DOMAIN.tf] acme: Trying to solve HTTP-01"
time="2023-12-19T07:54:19-05:00" level=error msg="Unable to obtain ACME certificate for domains \"DOMAIN.tf,www.DOMAIN.tf\": unable to generate a certificate for the domains [DOMAIN.tf www.DOMAIN.tf]: error: one or more domains had a problem:\n[www.DOMAIN.tf] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.DOMAIN.tf - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.DOMAIN.tf - check that a DNS record exists for this domain\n" ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=DOMAIN@docker rule="Host(`DOMAIN.tf`, `www.DOMAIN.tf`)" providerName=http.acme
Thanks for the reply sorry for the late reply I was gone due to new year and didn't had any Internet anyway is it possible that .tf domains can't be correctly verified maybe? cause it points to my traefik server