Online Help > Support/Resources > Knowledge Base

Manage Encryption Keys on a High Availability Topology

Description

 

The encryption keys must be the same of each Devolutions Password Server instances of your High Availability Topology.

 

ShieldNotice48x48

We recommend to do a backup of the SQL database before any operation that could modify the information of the SQL database. During this operation, all users must be in offline mode or disconnected from the Devolutions Password Server data source to avoid data loss.

 

Here are the steps to manage the encryption keys on that specific environment. If you have to upgrade Devolutions Password Server, please upgrade one instance at a time.

 

1.Open the Devolutions Password Server Console on the first server.

 

2.Open the menu on the right of the Devolutions Password Server Console and click on Manage Encryption Keys.

 

Devolutions Password Server Console

Devolutions Password Server Console

 

3.Set the Operation to Export, enter a password and click on the OK button.

 

Manage Encryption Keys dialog

Manage Encryption Keys dialog

 

4.Select a folder where to save the file and click on the Save button.

 

clip10262

 

5.Copy the encryption file on the other server.

 

6.If you need to upgrade the second server, you must do it before going any further with the following steps.

 

7.Go on another server where Devolutions Password Server is hosted and open the File Explorer in the App_Data subfolder of your web application folder. Delete every encryption file you will find in that subfolder.

 

clip10263

 

8.Open the Devolutions Password Server Console on the server. Then, open the Advanced menu on the right of the Devolutions Password Server Console and click on Manage Encryption Keys.

 

Devolutions Password Server Console

Devolutions Password Server Console

 

9.Set the Operation to Import and click on the OK button.

 

Manage Encryption Keys dialog

Manage Encryption Keys dialog

 

10.Select the encryption file and click on the Open button.

 

Select the encryption file

Select the encryption file

 

11.Enter the password and click on the OK button.

 

Import Encryption Keys password dialog

Import Encryption Keys password dialog

 

12.Click on the Yes button on the Change encryption keys warning dialog. Because the encryption keys was deleted, this operation will not be completed on the database. It will use the same encryption keys as the other server.

 

Change Encryption Keys warning dialog

Change Encryption Keys warning dialog