Skip to content

Commit e861b51

Browse files
committed
Fixed updating of certificates
1 parent 6f8c056 commit e861b51

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/StorageGRID-Webscale.psm1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14290,6 +14290,8 @@ function Global:Get-SgwManagementCertificate {
1429014290
}
1429114291
}
1429214292

14293+
New-Alias -Name Set-SgwManagementCertificate -Value Update-SgwManagementCertificate
14294+
New-Alias -Name Replace-SgwManagementCertificate -Value Update-SgwManagementCertificate
1429314295
<#
1429414296
.SYNOPSIS
1429514297
Update the management interface server certificate
@@ -14312,7 +14314,7 @@ function Global:Get-SgwManagementCertificate {
1431214314
.PARAMETER PrivateKeyPath
1431314315
Path to certficate private key in PEM-encoding; required if serverCertificateEncoded is not empty.
1431414316
#>
14315-
function Global:Get-SgwManagementCertificate {
14317+
function Global:Update-SgwManagementCertificate {
1431614318
[CmdletBinding(DefaultParameterSetName="String")]
1431714319

1431814320
PARAM (
@@ -14490,6 +14492,8 @@ function Global:Get-SgwObjectCertificate {
1449014492
}
1449114493
}
1449214494

14495+
New-Alias -Name Set-SgwObjectCertificate -Value Update-SgwObjectCertificate
14496+
New-Alias -Name Replace-SgwObjectCertificate -Value Update-SgwObjectCertificate
1449314497
<#
1449414498
.SYNOPSIS
1449514499
Update the object storage API service endpoints server certificate
@@ -14512,7 +14516,7 @@ function Global:Get-SgwObjectCertificate {
1451214516
.PARAMETER PrivateKeyPath
1451314517
Path to certficate private key in PEM-encoding; required if serverCertificateEncoded is not empty.
1451414518
#>
14515-
function Global:Get-SgwObjectCertificate {
14519+
function Global:Update-SgwObjectCertificate {
1451614520
[CmdletBinding(DefaultParameterSetName="String")]
1451714521

1451814522
PARAM (

0 commit comments

Comments
 (0)