j81blog / GenLeCertForNS

This script helps you to create a Let's Encrypt certificate for your NetScaler
GNU General Public License v3.0
39 stars 16 forks source link

Working with Traffic Domains #8

Open jazzroutine opened 2 years ago

jazzroutine commented 2 years ago

Hello! It should be possible to set Traffic Domain for ADC CS vserver, LB vserver, LB service and server.

I was able to make it work with additional payload parameter: line 1912 $payload = @{"name" = "$($Parameters.settings.SvcName)"; "ip" = "$($Parameters.settings.SvcDestination)"; "servicetype" = "HTTP"; "port" = "80"; "healthmonitor" = "NO"; "td" = "###";}

line 1932 $payload = @{"name" = "$($Parameters.settings.LbName)"; "servicetype" = "HTTP"; "ipv46" = "0.0.0.0"; "Port" = "0"; "td" = "###"; }

Is it possible to add Traffic Domain as part of Parameters list?

j81blog commented 2 years ago

Hi, can you test this version haven't had the time to test it as I didn't have a adc setup with traffic domains to test. You can use the -TrafficDomain parameter with a integer value. (-TD as alias) Wil you also test it without specifying and see if the error handing and notification is correct?