Closed KyferEz closed 5 years ago
The connection type is how the script connects to the Netscaler API. The validation from LE uses HTTP for domain validation.
Ok, but with the ADC configured for a SSL CS Vserver, then how can HTTP possibly be responded to? Is this a dehydrated issue or a script issue?
The cs or lbneeds to be http. That's where the validation takes place. The cert can be used anywhere then.
I thought the whole idea is that you are binding the cert to the CS or LB that needs it automatically... the one it's configured for... Is that not correct? If not, then I understand why a Gateway VS isn't supported...
Ok I created a HTTP CS vserver and it worked. The issue was me misunderstanding how this script was intended to work.
The cert created with the process can be bound anywhere. Le just verifies that there is a valid http server using the script. Once validated and the cert created it can be used anywhere. Doesn't have to be to bound to the cs or lb that is managing the renewal.
I have the following line in mynsconfig.py: connectiontype = "https"
However when I run the job, for validation, it tries to connect to http://mydomain.hopto.org instead of https://mydomain.hopto.org. See logs below. Now an SSL Vserver won't listen on port 80, so this is incorrect and will never validate. Also note the "port": "80" section below which is also incorrect.