Short Description
Assigns an SSL certificate to the service provider.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Add-VBRCloudGatewayCertificate -Certificate <VBRCloudCertificate> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet assigns an SSL certificate to the service provider. You can only use an SSL certificate imported from the certificate store.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Certificate | Specifies the certificate you want to use. Accepts 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
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.
PS C:\PS> $certificate = Get-VBRCloudGatewayCertificate -FromStore | Where FriendlyName -eq "Omega Company" PS C:\PS> Add-VBRCloudGatewayCertificate -Certificate $certificate |
Related Commands
Get-VBRCloudGatewayCertificate