Add-VBRBackupServerCertificate
Short Description
Specifies a TLS certificate used to establish secure communication from backup infrastructure components to the backup server.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
FromStoreAdd-VBRBackupServerCertificate -Certificate <VBRBackupServerCertificate> [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
NameAdd-VBRBackupServerCertificate -Name <String> [-Force] [-WhatIf]
[-Confirm] [<CommonParameters>]
-
FromFileAdd-VBRBackupServerCertificate -CertificatePath <String> -PrivateKeyPath <String> [-Password <SecureString>]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet specifies a TLS certificate to be used to establish a secure connection from backup infrastructure components to the backup server. You can generate a new self-signed TLS certificate or import an existing TLS certificate from the Microsoft Windows certificate store.
Important |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Certificate |
Specifies the certificate you want to use.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
CertificatePath |
Specifies the full path to the certificate file (for example, a |
|
True |
Named |
False |
|
Force |
Defines that the cmdlet installs the certificate without prompting you to confirm the operation. |
|
False |
Named |
False |
|
Name |
Note: This parameter is obsolete. Specifies a friendly name for the self-signed TLS certificate. |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Password |
Specifies a secure string that contains the password for the certificate file. |
|
False |
Named |
False |
|
PrivateKeyPath |
Specifies the full path to the KEY file associated with the certificate. |
|
True |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRBackupServerCertificate object that contains TLS certificates.
Examples
Example 1. Assigning Certificate using Certificate Files
|
This example shows how to assign a certificate using certificate files.
|
Example 2. Importing Certificate from Certificate Store
|
This example shows how to import an existing TLS certificate signed by a CA from the Microsoft Windows certificate store.
Perform the following steps:
|
Related Commands
Get-VBRBackupServerCertificateReturns TLS certificates.