Changing Challenge to DNS-01? #73
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've been combing over the documentation for a while now and I'm sure I'm missing something obvious here. As I'm running a private webserver I need to change the challenge to dns-01 (specifically cloudflare).
I've added the acme-dns-01-cloudflare package and setup a token with the correct permissions but I'm so confused as to where I tell greenlock-express to use dns-01 instead of the default?
In server.js am I supposed add a challenges property to the init object?
Any help would be greatly appreciated.
Here's the example from https://git.rootprojects.org/root/greenlock-express.js#easy-to-customize
If you're using the default JSON config file, that will update it in the correct way.
More detail here: https://git.rootprojects.org/root/acme-dns-01-test.js
Unless you're building an API around it, it's best just to use the CLI for one-off changes.
Does that help?
Thank you so much! I actually managed to work this out but forgot I posted about it here. It actually took me ages to realise I could use the CLI!