Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 67b23da

Browse files
committed
chore(re-release): v1.5.4 (#126)
Re-release v1.5.4. Bugfix: - Fixed issue in import of prior release v1.5.4.1002 in `Install-VCFCertificate`. - Updated `Install-VCFCertificate` to remove duplicate parameters. Documentation: - Updated documentation for `Install-VCFCertificate` for readability. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
1 parent ba20512 commit 67b23da

4 files changed

Lines changed: 19 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## v1.5.4
44

5-
> Release Date: 2024-07-25
5+
> Release Date: 2024-08-07
66
77
Enhancement:
88

VMware.CloudFoundation.CertificateManagement.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
# Module manifest for module 'VMware.CloudFoundation.CertificateManagement'
55
# Generated by: Broadcom
6-
# Generated on: 2024-07-25
6+
# Generated on: 2024-08-07
77

88
@{
99

1010
# Script module or binary module file associated with this manifest.
1111
RootModule = '.\VMware.CloudFoundation.CertificateManagement.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '1.5.4.1002'
14+
ModuleVersion = '1.5.4.1003'
1515

1616
# ID used to uniquely identify this module
1717
GUID = 'ac903c83-c745-44f7-b6bd-1dff133fec92'

VMware.CloudFoundation.CertificateManagement.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ Function Set-VCFCertificateAuthority {
15751575
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateNotNullOrEmpty()] [String] $commonName,
15761576
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateNotNullOrEmpty()] [String] $organization,
15771577
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateNotNullOrEmpty()] [String] $organizationUnit,
1578-
1578+
15791579
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateNotNullOrEmpty()] [String] $locality,
15801580
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateNotNullOrEmpty()] [String] $state,
15811581
[Parameter (Mandatory = $true, ParameterSetName = "openssl")] [ValidateSet ("US", "CA", "AX", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", `
@@ -2434,8 +2434,8 @@ Function Install-VCFCertificate {
24342434
}
24352435
}
24362436
} else {
2437-
Install-SddcCertificate -server $server -user $user -pass $pass -workloadDomain $domain
2438-
}
2437+
Install-SddcCertificate -server $server -user $user -pass $pass -workloadDomain $domain
2438+
}
24392439
}
24402440

24412441
Function Install-SddcCertificate {

docs/documentation/functions/Install-VCFCertificate.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,21 @@ This example will connect to SDDC Manager to install the signed certificates for
5252
Install-VCFCertificate -esxi -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -domain sfo-m01 -esxiFqdn sfo01-m01-esx01.sfo.rainpole.io -migratePowerOffVMs -vsanDataMigrationMode EnsureAccessibility -certificateDirectory F:\certificates -certificateFileExt ".cer"
5353
```
5454

55-
This example will install the certificate to the ESXi host sfo01-m01-esx01.sfo.rainpole.io in sfo-m01 workload domain using the provided path. For VMware Cloud Foundation
56-
version earlier than 5.2, the ESXi host will enter maintenance mode with vSAN data migration Mode set to `EnsureAccessibility`. Any powered-off virtual machines will be
57-
migrated off the ESXi host prior to entering maintenance mode.
55+
This example will install the certificate to the ESXi host sfo01-m01-esx01.sfo.rainpole.io in sfo-m01 workload domain using the provided path.
56+
57+
For VMware Cloud Foundation 5.1 or earlier, the ESXi host will enter maintenance mode with vSAN data migration Mode set to `EnsureAccessibility`. Any powered off virtual machines will be migrated off the ESXi host prior to entering maintenance mode.
5858

5959
### EXAMPLE 3
6060

6161
```powershell
6262
Install-VCFCertificate -esxi -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -domain sfo-m01 -cluster sfo-m01-cl01 -certificateDirectory F:\certificates -certificateFileExt ".cer"
6363
```
6464

65-
This example will install certificates for each ESXi host in the sfo-m01-cl01 cluster within the sfo-m01 workload domain, using the provided path. Starting from VMware Cloud
66-
Foundation version is 5.2 or later, the vsanDataMigrationMode option is no longer applicable. For VMware Cloud Foundation version earlier than 5.2, by default the ESXi hosts will
67-
enter maintenance mode with vSAN data migration Mode set to `Full data migration`. Any powered-off virtual machines will not be migrated off the ESXi hosts prior to
68-
entering maintenance mode.
65+
This example will install certificates for each ESXi host in the sfo-m01-cl01 cluster within the sfo-m01 workload domain, using the provided path.
66+
67+
For VMware Cloud Foundation 5.2 or later, the `vsanDataMigrationMode` option is no longer applicable.
68+
69+
For VMware Cloud Foundation 5.1 or earlier, by default the ESXi hosts will enter maintenance mode with vSAN data migration Mode set to `Full data migration`. Any powered off virtual machines will not be migrated off the ESXi hosts prior to entering maintenance mode.
6970

7071
### EXAMPLE 4
7172

@@ -74,7 +75,8 @@ Install-VCFCertificate -esxi -server sfo-vcf01.sfo.rainpole.io -user administrat
7475
```
7576

7677
This example will install private keys and certificates for each ESXi host in the sfo-m01-cl01 cluster within the sfo-m01 workload domain, using the provided path.
77-
The `uploadprivatekey` parameter is only validated for VMware Cloud Foundation version is 5.2 or later.
78+
79+
The `uploadPrivateKey` parameter is only validated for VMware Cloud Foundation version is 5.2 or later.
7880

7981
## Parameters
8082

@@ -255,9 +257,10 @@ Default value: 18000
255257
Accept pipeline input: False
256258
Accept wildcard characters: False
257259
```
260+
258261
### -vsanDataMigrationMode
259262
260-
The vSan Data Migration mode validate value ("Full", "EnsureAccessibility").
263+
The vSAN Data Migration mode validate value ("Full", "EnsureAccessibility").
261264
262265
```yaml
263266
Type: String
@@ -305,7 +308,7 @@ Accept wildcard characters: False
305308
306309
### -uploadPrivateKey
307310
308-
Option to upload an external private key when performing the ESXi host certificate replacement. Supported on Vmware Cloud Foundation 5.2 or later
311+
Option to upload an external private key when performing the ESXi host certificate replacement. Supported on VMware Cloud Foundation 5.2 or later
309312
310313
```yaml
311314
Type: Switch

0 commit comments

Comments
 (0)