Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not creating a certificate for a subdomain #131

Open
Rektalizer opened this issue Oct 7, 2022 · 3 comments
Open

Not creating a certificate for a subdomain #131

Rektalizer opened this issue Oct 7, 2022 · 3 comments

Comments

@Rektalizer
Copy link

Rektalizer commented Oct 7, 2022

init-letsencrypt.sh works perfectly for domains like website.com or www.website.com, however when specific subdomains required like forum.website.com it fails with this error

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: forum.website.com
  Type:   connection
  Detail: 104.199.106.75: Fetching http://forum.website.com/.well-known/acme-challenge/Y95bRZ3zcitpwUbAA4FAAmB18od-fepB8_vQfBhk_zA: Connection refused

Seems like this is a common issue as there are few of them here. Does any bypass or fix for this exist?

@DavidKaub
Copy link

I also have this issue. Is there a workaround?

@soreana
Copy link

soreana commented Nov 30, 2022

@DavidKaub @Rektalizer
I just generated a certificate for a subdomain successfully. Have you replaced all the example.org to the subdomain name?

@pmeaney
Copy link

pmeaney commented Mar 17, 2024

If you run into this problem--
Check the certbot container logs.

docker exec -it certbotContainerName sh
cat /var/log/letsencrypt/letsencrypt.log

Scroll up through the logs a bit...
You may see this, as I did-- because I forgot to add a DNS record for the subdomain, via your hosting provider:

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: api.livestauction.com
  Type:   dns
  Detail: DNS problem: NXDOMAIN looking up A for api.livestauction.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for api.livestauction.com - check that a DNS record exists for this domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants