Unable to renew certificate with certbot

My domain is: server.sahaypay.com

I ran this command: certbot renew

It produced this output:

Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.')
e[31mAttempting to renew cert (server.sahaypay.com) from C:\Certbot\renewal\server.sahaypay.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.'). Skipping.e[0m
e[31mAll renewal attempts failed. The following certs could not be renewed:e[0m
e[31m C:\Certbot\live\server.sahaypay.com\fullchain.pem (failure)e[0m

The operating system my web server runs on is (include version): Windows 10

My hosting provider, if applicable, is: GoDaddy

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.7.0

1 Like

Hello :slightly_smiling_face:

You cannot use renew with manual authentication without specifying a script with --manual-auth-hook.


You might be able to use webroot authentication:

certbot certonly --cert-name server.sahaypay.com --webroot -w "C:\inetpub\wwwroot\server" -d "server.sahaypay.com" --deploy-hook "iisreset /restart" --keep

If that succeeds, you can test automatic renewal with:

certbot renew --dry-run


You could try using one of the following instead of certbot to make your life really simple:

webprofusion's

rmbolger's


If you really want to use manual authentication:

certbot certonly --cert-name server.sahaypay.com --manual -d "server.sahaypay.com" --deploy-hook "iisreset /restart" --keep

You cannot use automatic renewal with this method.

1 Like

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