This plugin launches a temporary built-in web listener that stores the validation response in memory. It can share port 80 with IIS and other (Microsoft) software so this doesn’t interfere with regular traffic. Not all software supports this port sharing feature though. If you get errors telling you that the listener cannot be started, try to (temporarely) shut down other processes using the port, or look for another validation method.
Even though Let’s Encrypt will always send validation requests to port 80,
you may internally proxy, NAT or redirect that to another port. Using the
--validationport switch you can tell the plugin to listen to a specific port.
Obviously, whichever port is used will have to be accessible from outside, meaning
your firewall(s) will have to permit access. Unfortunately due to the use of the
port sharing mechanism, it’s not possible to configure the Windows Firewall with
a rule for a specific application (i.e.
wacs.exe), so you will have to open the
System. If you feel that is too generous, you could automate enabling/
disabling this rule by running a script before and after
wacs.exe. Make sure to
also add that script as steps in the scheduled task.
[--validation selfhosting] [--validationport 8080]