Managing IIS Certificates
If you need to setup a TLS certificate for a site hosted on IIS, you need to figure out how to generate a CSR, then how to get it processed at your CA and then import
Sometimes you’ve messed something up (e.g. forgotten to add in the Subject Alternative Name, or spelt the domain name wrong) so you need to re-run all those steps
Eventually all good….until it needs to be renewed. When you’ve fogotten how you did all that
How about running one script which prompts you for the domain name, obtains the certificate (including the Subject Alternative Names), issues and then installs it all for you. On top of that, it creates a scheduled task that auto-renews it for you
This takes seconds and if you’ve done anything wrong – just run it again
Take a look at our free PowerShell script on github: https://github.com/krestfield/certdog-iis that does all this
0 Comments