@@ -10,15 +10,13 @@ Download a .zip file of this repository, and copy to the server. Ensure the `iis
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. In this case, you might import the included XML file, but then set the Task Scheduler command to be `powershell.exe` with arguments `-file C:\autocert\iis.ps1 -Port 5729`.
A useful log output which will automatically be written to a log.txt file in the same directory as the script.
## For Windows Servers Running Exchange 2010
This process is the same as for IIS servers, but instead use the `exchange2010.ps1` PowerShell script. There is no need to specify a port number in this case. If you use the task export XML file, the command within will need to be edited either before or after import.
The process is the same as for IIS servers, but instead use the `exchange2010.ps1` PowerShell script. There is no need to specify a port number in this case. If you use the task export XML file, the command within will need to be edited (to `powershell.exe` with arguments `-file C:\autocert\exchange2010.ps1`) either before or after import.
## For Linux Servers Running Docker and Nginx-Proxy