You are not logged in.
Pages: 1
Hi, after a long time I back to write a post, I want to know if is there any example/demo of ACME.
And, it's supported DNS challenge ?
Thanks in advance.
Esteban
Last edited by EMartin (2024-04-19 17:47:11)
Esteban
Offline
Thanks @ab !
Esteban
Offline
For DNS challenge we need to change DNS server configuration, and provide DNS record with Key:
_acme-challenge.www.example.org. 300 IN TXT "gfj9Xq...Rg85nM"
You can change in TAcmeClient.CreateOrder line from "if v2[0].Idem('HTTP-01') then" to "if v2[0].Idem('DNS-01') then" and use OnChallenges callback.
In callback modify your DNS server configuration to provide DNS record.
If this works for you, we can in mORMot add TAcmeClient.ChallengeType property (or change TAcmeChallenge record and add DnsUrl, DnsToken and DnsKey fields).
Last edited by Chaa (2024-04-20 07:00:58)
Offline
Thanks @chaa, first I'll try with http-01.
Esteban
Offline
Pages: 1