None of the preferred challenges are supported by the selected plugin

If you want to use a script to copy a file to that location with Certbot, then you can use the --manual-auth-hook option.

(When this option is set, certbot --manual can run without human intervention, including for renewals.)

1 Like

@schoen Thanks for response. We are now able to create a certificate using below script

certbot certonly --manual --manual-auth-hook /database/k9uscript/autossl/authenticatorwj.sh --manual-cleanup-hook /database/k9uscript/autossl/cleanupwj.sh -d work.jedtrade.com

but It asked below confirmation before completing the script , Shall we skip below yes/no option? Kindly advise. Thanks

"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If you're running certbot in manual mode on a machine that is not
your server, please ensure you're okay with that.

Are you OK with your IP being logged?


(Y)es/(N)o: y
"

2 Likes

You can't skip the prompt, if you want your certificate you must answer y, if you answer n the process will stop.

From certbot version 1.10 on, you should not be prompted with this question anymore.

Note: There is an option (--manual-public-ip-logging-ok) to avoid the prompt on versions below 1.10 but if you use this option you will receive a warning saying that this option has been deprecated if you upgrade your certbot client to version 1.10 or newer.

2 Likes

If you can upgrade to a current version of Certbot, that question should
no longer be asked (because it is warning about something that the Let's
Encrypt CA ended up deciding not to do). There is also a command line
option you can give to avoid this question, something like
--manual-public-ip-logging-ok, if I remember correctly.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.