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

CloudFlare Error using FreeDNS #6107

Open
FoldZero opened this issue Nov 20, 2024 · 2 comments
Open

CloudFlare Error using FreeDNS #6107

FoldZero opened this issue Nov 20, 2024 · 2 comments

Comments

@FoldZero
Copy link

FoldZero commented Nov 20, 2024

I have setup ising https://github.com/acmesh-official/acme.sh/wiki/dnsapi#15-use-freedns
then went back to Create Cert and get the following errir.

Steps to reproduce

ash-4.4# ./acme.sh --issue --server letsencrypt --home . -d "$CERT_DOMAIN" --dns "$CERT_DNS" --keylength 2048
[Wed Nov 20 02:40:19 PM GMT 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Wed Nov 20 02:40:19 PM GMT 2024] Account key creation OK.
[Wed Nov 20 02:40:19 PM GMT 2024] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Wed Nov 20 02:40:20 PM GMT 2024] Registered
[Wed Nov 20 02:40:20 PM GMT 2024] ACCOUNT_THUMBPRINT='".............."'
[Wed Nov 20 02:40:20 PM GMT 2024] Creating domain key
[Wed Nov 20 02:40:20 PM GMT 2024] The domain key is here: ./DOMAIN.ie/DOMAIND.ie.key
[Wed Nov 20 02:40:20 PM GMT 2024] Single domain='DOMAIN.'
[Wed Nov 20 02:40:22 PM GMT 2024] Getting webroot for domain='DOMAIN.
'
[Wed Nov 20 02:40:22 PM GMT 2024] Adding TXT value: ss0V-"....................." for domain: _acme-challenge.DOMAIN.**
[Wed Nov 20 02:40:22 PM GMT 2024] You didn't specify a Cloudflare api key and email yet.
[Wed Nov 20 02:40:22 PM GMT 2024] You can get yours from here https://dash.cloudflare.com/profile.
[Wed Nov 20 02:40:22 PM GMT 2024] Error adding TXT record to domain: _acme-challenge.DOMAIN.

[Wed Nov 20 02:40:22 PM GMT 2024] Please add '--debug' or '--log' to see more information.
[Wed Nov 20 02:40:22 PM GMT 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
ash-4.4#**

Debug log

ash-4.4# ls
account.conf  acme.sh  acme.sh.env  ca  deploy  dnsapi  http.header  notify  DOMAIN.**
ash-4.4# #ash-4.4# acme.sh  --issue .....   --debug 2
ash-4.4# ash: acme.sh: command not found
ash: ash:: command not found


Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@arsenicks
Copy link

That's a pretty shitty bug report we got here.. look at the debug log, I'm pretty sure you have the same problem I had with certbot. the flow to modify txt record on freedns seems broken/have problem for automation since a while..

Here's what I just did to get rid of this once and for all. Use dns alias mode if you own another domain or have a dyndns with a provider that don't run a website from the 90's.

https://github.com/acmesh-official/acme.sh/wiki/DNS-alias-mode

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

2 participants