I’m using the following setup:
- Domain Authorization via DNS challenge (dns-01)
- Custom Script (because our DNS proider has an API, but is not directly supported)
If the script fails (returns with an exit code != 0), I would have expected that the “Certify the Web” client would detect this as a failure, but it still reports success.
Output on Sidebar:
Test Certificate MyCertificateName Success All Tests Completed OK (Use Custom Script) :: Warning: Script exited with the following ExitCode: 123
I’ve tried positive and negative exit codes, but nothing seems to be picked up by the “Certify the Web” client as an error.
This is not a showstopper because the DNS challenge wll also fail if the script is unable to add the DNS TXT record, but it would certainly be nicer if the script’s failure could cancel the whole proess early on.