How to Assign SSL Certificate to Service Provider
Veeam Cloud Connect infrastructure uses SSL certificates to secure the connection between a service provider and a tenant. SSL certificates must be imported to the Microsoft Windows Certificates store first. A service provider then sets up an SSL certificate on the service provider side by selecting the needed certificate from the store.
With Veeam PowerShell, you cannot create a self-signed certificate or import an SSL certificate from file in the PFX format. You can only select an existing SSL certificate from the Microsoft Windows Certificates store. The certificate must be imported into the certificate store beforehand.
To set up the SSL certificate on service provider side with PowerShell, perform the following steps:
- Get the SSL certificate from the Microsoft Windows Certificate store: run Get-VBRCloudGatewayCertificate and save the result to the $certificate variable.
- Assign the certificate to the service provider: run Add-VBRCloudGatewayCertificate with the $certificate variable.
$certificate = Get-VBRCloudGatewayCertificate -FromStore | Where FriendlyName -eq "Omega Company"
Add-VBRCloudGatewayCertificate -Certificate $certificate