Add-VBRCloudGatewayCertificate
Short Description
Assigns a TLS certificate to the service provider.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VBRCloudGatewayCertificate -Certificate <VBRCloudCertificate> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet assigns a TLS certificate to the service provider.
Important |
You can only use the TLS certificate imported from the certificate store. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Certificate | Specifies the certificate you want to use. Accepts the VBRCloudCertificate type. | True | Named | True (ByValue, | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
None
Example
This example shows how to get a certificate from the certificate store and assign it to the service provider.
- Run Get-VBRCloudGatewayCertificate to get the certificate from the certificate store. Save it to the $certificate variable.
- Run Add-VBRCloudGatewayCertificate to apply the certificate.
$certificate = Get-VBRCloudGatewayCertificate -FromStore | Where FriendlyName -eq "Omega Company" Add-VBRCloudGatewayCertificate -Certificate $certificate |
Related Commands