acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.73k stars 4.92k forks source link

Auto renewal of .pfx certiface #5039

Open ZAdamski opened 6 months ago

ZAdamski commented 6 months ago

Hello, I need to automate renewal of .pfx certificate. Since I'm using IIS, I need my certificates to be in .pfx format. I know when acme.sh issues a cert it auto generates a record in Task Scheduler. My problem is, I need Task Scheduler to not only check if the cert can be renewed but also make a conversion to .pfx and auto attach to IIS. How would you handle this problem. Thank you for all comments.

Goals to archive : -check if the certificate qualifies for renewal -if yes convert the certificate format to .pfx -auto rebind the .pfx certificate to IIS

github-actions[bot] commented 6 months ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.