Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
j81blog committed Oct 25, 2019
2 parents 7270a64 + 798a6a0 commit 24f21d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions GenLeCertForNS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
Default: 2048
.PARAMETER EmailAddress
The email address used to request the certificates and receive a notification when the certificates (almost) expires
.PARAMETER GetValuesFromExistingCertificate
Set this switch to extract the CommonName (ad if present also the SAN records) from an existing certificate already present on the Citrix ADC.
If you set this switch -ExistingCertificateName must also be configured.
.PARAMETER ExistingCertificateName
The name of an existing certificate on the ADC. Us the CertKeyName (Name visible in the GUI, not the filename)
.PARAMETER CN
(Common Name) The Primary (first) dns record for the certificate
Example: "domain.com"
Expand Down Expand Up @@ -90,12 +95,12 @@
Removing ALL the test certificates from your ADC.
.NOTES
File Name : GenLeCertForNS.ps1
Version : v2.4.0
Version : v2.4.1
Author : John Billekens
Requires : PowerShell v5.1 and up
ADC 11.x and up
Run As Administrator
Posh-ACME 3.5.0 (Will be installed via this script) Thank you @rmbolger for providing the HTTP validation method!
Posh-ACME 3.8.0 (Will be installed via this script) Thank you @rmbolger for providing the HTTP validation method!
Microsoft .NET Framework 4.7.1 or later (when using Posh-ACME/WildCard certificates)
.LINK
https://blog.j81.nl
Expand Down Expand Up @@ -182,6 +187,8 @@ param(
[Parameter(ParameterSetName = "LECertificates", Mandatory = $false)]
[string[]]$SAN = @(),

[Parameter(ParameterSetName = "LECertificates", Mandatory = $false)]
[Parameter(ParameterSetName = "GetExisting", Mandatory = $false)]
[string]$FriendlyName = $CN,

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

#requires -version 5.1
#requires -runasadministrator
$ScriptVersion = "v2.4.0"
$ScriptVersion = "v2.4.1"

#region Functions

Expand Down
4 changes: 2 additions & 2 deletions version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
branch;version
master;2.4.0
dev;2.4.0
master;2.4.1
dev;2.4.1

0 comments on commit 24f21d9

Please sign in to comment.