|
51 | 51 | Default: 2048 |
52 | 52 | .PARAMETER EmailAddress |
53 | 53 | The email address used to request the certificates and receive a notification when the certificates (almost) expires |
| 54 | +.PARAMETER GetValuesFromExistingCertificate |
| 55 | + Set this switch to extract the CommonName (ad if present also the SAN records) from an existing certificate already present on the Citrix ADC. |
| 56 | + If you set this switch -ExistingCertificateName must also be configured. |
| 57 | +.PARAMETER ExistingCertificateName |
| 58 | + The name of an existing certificate on the ADC. Us the CertKeyName (Name visible in the GUI, not the filename) |
54 | 59 | .PARAMETER CN |
55 | 60 | (Common Name) The Primary (first) dns record for the certificate |
56 | 61 | Example: "domain.com" |
|
90 | 95 | Removing ALL the test certificates from your ADC. |
91 | 96 | .NOTES |
92 | 97 | File Name : GenLeCertForNS.ps1 |
93 | | - Version : v2.4.0 |
| 98 | + Version : v2.4.1 |
94 | 99 | Author : John Billekens |
95 | 100 | Requires : PowerShell v5.1 and up |
96 | 101 | ADC 11.x and up |
97 | 102 | Run As Administrator |
98 | | - Posh-ACME 3.5.0 (Will be installed via this script) Thank you @rmbolger for providing the HTTP validation method! |
| 103 | + Posh-ACME 3.8.0 (Will be installed via this script) Thank you @rmbolger for providing the HTTP validation method! |
99 | 104 | Microsoft .NET Framework 4.7.1 or later (when using Posh-ACME/WildCard certificates) |
100 | 105 | .LINK |
101 | 106 | https://blog.j81.nl |
@@ -182,6 +187,8 @@ param( |
182 | 187 | [Parameter(ParameterSetName = "LECertificates", Mandatory = $false)] |
183 | 188 | [string[]]$SAN = @(), |
184 | 189 |
|
| 190 | + [Parameter(ParameterSetName = "LECertificates", Mandatory = $false)] |
| 191 | + [Parameter(ParameterSetName = "GetExisting", Mandatory = $false)] |
185 | 192 | [string]$FriendlyName = $CN, |
186 | 193 |
|
187 | 194 | [Parameter(ParameterSetName = "LECertificates", Mandatory = $false)] |
@@ -282,7 +289,7 @@ param( |
282 | 289 |
|
283 | 290 | #requires -version 5.1 |
284 | 291 | #requires -runasadministrator |
285 | | -$ScriptVersion = "v2.4.0" |
| 292 | +$ScriptVersion = "v2.4.1" |
286 | 293 |
|
287 | 294 | #region Functions |
288 | 295 |
|
|
0 commit comments