@@ -8,9 +8,11 @@ There is one piece of information required to make this work that has been delib
Download a .zip file of this repository, and copy to the server. Ensure the `iis.ps1` PowerShell script and the `pscp.exe` binary are in a suitable location - `C:\autocert` is a good choice - and edit the placeholder password in the PS1 script to have the correct value (see LastPass).
Set the script to run on a schedule using Task Scheduler. It will need to run as `administrator`, but shouldn't need to run more frequently than once a week - say at 5am every Thursday.
Set the script to run on a schedule using Task Scheduler. It will need to run as `administrator`, but shouldn't need to run more frequently than once a week - say at 5am every Thursday. A task export XML file is included which can be imported to Task Scheduler for ease of setup.
The script takes one parameter - the port to bind SSL to. If this is omitted it will default to 443, but e.g. the Gamma server serves SSL on port 5729. As an example, you might set the Task Scheduler command to be `powershell.exe` with arguments `-file C:\autocert\iis.ps1 -Port 5729`, and set the command to start in `C:\autocert`.
The script takes one parameter - the port to bind SSL to. If this is omitted it will default to 443, but e.g. the Gamma server serves SSL on port 5729.
As an example, you might set the Task Scheduler command to be `powershell.exe` with arguments `-file C:\autocert\iis.ps1 -Port 5729`, and set the command to start in `C:\autocert`.
A useful log output which will automatically be written to a log.txt file in the same directory as the script.