question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please make sure your properly set your DNS API credentials for acme.sh

See original GitHub issue

I’m using Cloudflare free plan and when I try to issue a certificate I got this error

wo site update x.com -le=clean

SSL is not configured for given site

wo site update x.com -le --dns

Certificate type : domain
Validation mode : DNS mode with dns_cf
Issuing SSL cert with acme.sh   [KO]
Please make sure your properly set your DNS API credentials for acme.sh
If you are using sudo, use "sudo -E wo"

I’m using this API and I’ve tried all the SSL/TLS settings at Cloudflare

image

image

nano /etc/letsencrypt/config/account.conf

#LOG_FILE="/etc/letsencrypt/config/acme.sh.log"
#LOG_LEVEL=1

AUTO_UPGRADE='1'

#NO_TIMESTAMP=1


CERT_HOME='/etc/letsencrypt/renewal'
UPGRADE_HASH='053f4a9a2e7f74aaec4493f5e9828f229088ab7c'
USER_PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'



SAVED_CF_Key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
SAVED_CF_Email='x@gmail.com'

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
microramcommented, Jul 15, 2021

This fixed my issue:

acme.sh --set-default-ca --server letsencrypt

1reaction
repercussioncommented, Jun 19, 2021

I checked the wordops logs here: /var/log/wo/wordops.log and it showed:

[Sat 19 Jun 2021 05:19:34 PM UTC] Please update your account with an email address first.
[Sat 19 Jun 2021 05:19:34 PM UTC] acme.sh --register-account -m my@example.com

So I did that with the email that matchedd CF_Email, then I was able to generate SSL certs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Please make sure your properly set your DNS API credentials ...
Have you set the Letsencrypt as default CA before issuing the SSL Certificate ro registered for a ZeroSSL account? Try running this command...
Read more >
How to issue Let's Encrypt Wildcard certificate with acme.sh
Explains how to create Let's Encrypt wildcard certificate using acme.sh and Cloudflare DNS API for ownership verification.
Read more >
SSL with Wordops - Help - Let's Encrypt Community Support
Issuing SSL cert with acme.sh [KO] Please make sure your properly set your DNS API credentials for acme.sh. If you are using sudo, ......
Read more >
Letsencrypt namecheap
You have configured the Let's Encrypt automatic certificate renew. sh ... Using acme. io and SAN test2. sh [KO] Please make sure your...
Read more >
目录 - Gitee
Step 3: Configure acme.sh and get your certificate. Step 4: Configure Firewall. How-to-use-Amazon-Route53-API appendix. How-to-use-Azure-DNS. Prerequisites.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found