Skip to content

Commit 24f21d9

Browse files
committed
Merge branch 'dev'
2 parents 7270a64 + 798a6a0 commit 24f21d9

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

GenLeCertForNS.ps1

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
Default: 2048
5252
.PARAMETER EmailAddress
5353
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)
5459
.PARAMETER CN
5560
(Common Name) The Primary (first) dns record for the certificate
5661
Example: "domain.com"
@@ -90,12 +95,12 @@
9095
Removing ALL the test certificates from your ADC.
9196
.NOTES
9297
File Name : GenLeCertForNS.ps1
93-
Version : v2.4.0
98+
Version : v2.4.1
9499
Author : John Billekens
95100
Requires : PowerShell v5.1 and up
96101
ADC 11.x and up
97102
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!
99104
Microsoft .NET Framework 4.7.1 or later (when using Posh-ACME/WildCard certificates)
100105
.LINK
101106
https://blog.j81.nl
@@ -182,6 +187,8 @@ param(
182187
[Parameter(ParameterSetName = "LECertificates", Mandatory = $false)]
183188
[string[]]$SAN = @(),
184189

190+
[Parameter(ParameterSetName = "LECertificates", Mandatory = $false)]
191+
[Parameter(ParameterSetName = "GetExisting", Mandatory = $false)]
185192
[string]$FriendlyName = $CN,
186193

187194
[Parameter(ParameterSetName = "LECertificates", Mandatory = $false)]
@@ -282,7 +289,7 @@ param(
282289

283290
#requires -version 5.1
284291
#requires -runasadministrator
285-
$ScriptVersion = "v2.4.0"
292+
$ScriptVersion = "v2.4.1"
286293

287294
#region Functions
288295

version.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
branch;version
2-
master;2.4.0
3-
dev;2.4.0
2+
master;2.4.1
3+
dev;2.4.1

0 commit comments

Comments
 (0)