Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rocket Remote Desktop 2027 full DB encryption
#1
Question 
Hi,

I'm trying to setup 2027 in a QA environment to test if we need to change documentation etc.

This is the first time that I get the notification:

"Database Master Key Password"
"Enter a dedicated SQL Database Master Key password and store it securely for cluster synchronization and disaster recovery."

Is this one of the new security changes, or can I choose not to encrypt the entire DB?

I have to admit that it's been a while since I last installed a clean RRD instance, so maybe I'm mistaken.

Thanks
Regards,
colombeen
Reply
#2
Hi,

Yes its a new security change and must be done for protection. We can't choose it for now.
Thank You,
Pavan
Reply
#3
You can leave the field empty - then a random key will be generated - this key can be changed later via Powershell-Command - you need for replication/sync of database - else it's just used and you don't need to care about it
Regards/Gruss
Oliver
Reply
#4
(06-11-2026, 10:34 AM)DevOma Wrote: You can leave the field empty - then a random key will be generated - this key can be changed later via Powershell-Command - you need for replication/sync of database - else it's just used and you don't need to care about it

Will we need the key if we need to restore a backup of the DB in case of failures or issues?
Reply
#5
Yes its needed.

1. Master key migration: The Database Master Key is stored inside the database, so the backup contains it. SQL Server also protects it with the old server's Service Master Key, which is not in the backup. After a restore to another server, the key has to be opened with its password and re-encrypted under the new server's key

We can use below cmdlets to change the DMK Password.
2. Set-RDEnvironmentMasterKeyPassword -DatabaseMasterKeyPassword "MyStrongPassword!"

Once Database is restored, Re-link the encryption key to the new server

This step is important. Do it even if things seem to be working.

```sql
USE [YourDatabaseName];
GO
OPEN MASTER KEY DECRYPTION BY PASSWORD = 'MyStrongPassword!';

ALTER MASTER KEY DROP ENCRYPTION BY SERVICE MASTER KEY;
ALTER MASTER KEY ADD ENCRYPTION BY SERVICE MASTER KEY;

CLOSE MASTER KEY;
GO
```

If the `DROP` line reports that there is no such encryption, simply ignore that message and continue with the `ADD` line.

This command is safe to run even if nothing was broken. It does no harm.

On an Availability Group / cluster: run this on the primary replica. The change travels with the database to the secondaries.
Thank You,
Pavan
Reply




Users browsing this thread: 1 Guest(s)