Sets up an SSL certificate to the service provider.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Add-VBRCloudGatewayCertificate -Certificate <VBRCloudCertificate> [-WhatIf] [-Confirm] [<CommonParameters>]
This cmdlet sets up an SSL certificate to the service provider. You can only use an SSL certificate imported from the Certificate Store.
Specifies the certificate you want to use.
Accepts VBRCloudCertificate type.
True (by Value
Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.
Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This example shows how to pick a certificate named "Omega Company" 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