This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-VBRBackupServerCertificate

Short Description

Assigns an SSL certificate to the Veeam backup server.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Add-VBRBackupServerCertificate -Certificate <VBRBackupServerCertificate> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet assigns an SSL certificate to the Veeam backup server. You can only use an SSL certificate imported from the certificate store.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Certificate

Specifies the certificate you want to use.

Accepts VBRBackupServerCertificate type.

True

Named

True (ByValue,
ByProperty
Name)

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 Veeam backup server.

  1. Run Get-VBRBackupServerCertificate to get the certificate. Save the result to the $certificate variable.
  2. Run Add-VBRBackupServerCertificate with the $certificate variable.

$certificate = Get-VBRBackupServerCertificate -FromStore | Where FriendlyName -eq "ABC"

Add-VBRBackupServerCertificate -Certificate $certificate

Related Commands

Get-VBRBackupServerCertificate