I am running on Windows Server 2016. I am using the latest version from the beta installer.
I’ve written a renewal-hook and placed it in the deploy folder at
C:\Certbot\renewal-hooks\deploy\convert.bat and verified it works when forcing a renewal. It takes the pem files and converts as necessary and places in the network share. Great!
Now, I thought from Windows assume identity that this would also happen the first time I requested the certificate using
certbot certonly -n --webroot --agree-tos --email email@example.com -d www.baz.com -w '//my/remote/share$' but the deploy hook doesn’t run.
Is there any option to run my hook when requesting the certificate the first time?