Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a couple of AlmaLinux 9.x systems that were setup with a script. These servers originally used acme.sh with HTTP-01 challenge to obtain/renew the certs.
I want to switch to DNS-01 challenge. My DNS provider has API to automate DNS-01 challenge and I have successfully obtained a cert using DNS-01 challenge. Here's what I've done so far:
acme.sh --issue --dns dns_cloudns -d sub1.example.com
acme.sh --issue --dns dns_cloudns -d sub2.example.com
I received both certs without issue. I have the following pre-existing cron job:
2 11 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
My question is how do I make sure DNS-01 challenge is used for all future auto cert renewals via cron job? How does acme.sh know to use DNS-01 instead of HTTP-01 challenge?
Beta Was this translation helpful? Give feedback.
All reactions