I have issued a certificate. The command line tells me that in order to renew the certificate, I must execute the renewal certificate. I also have a script that copies certificates.
How do I add certificate renewal and execution of my script to the task scheduler?
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.',)
Attempting to renew cert (vpn.ladesol-tambov.com) from /etc/letsencrypt/renewal/vpn.ladesol-tambov.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.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/vpn.ladesol-tambov.com/fullchain.pem (failure)
A deploy hook is not sufficient to perform a renewal with --manual; you also need an auth hook.
The deploy hook is used to copy the certificates after they're obtained, while the auth hook is used to satisfy the certificate authority's challenges in order to permit the certificate to be issued.