SQL6-D0-001800 - The Certificate used for encryption must be backed up and stored in a secure location that is not on the SQL Server.

Information

Backup and recovery of the Certificate used for encryption is critical to the complete recovery of the database. Not having this key can lead to loss of data during recovery.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Document and implement procedures to safely back up and store the Certificate used for encryption in a secure location that is not on the SQL Server. Include in the procedures to establish evidence of backup and storage as well as careful, restricted access and restoration of the Certificate.

BACKUP CERTIFICATE 'CertificateName' TO FILE = 'path_to_file'
WITH PRIVATE KEY (FILE = 'path_to_pvk', ENCRYPTION BY PASSWORD = 'password');

As this requires a password, ensure it is not exposed to unauthorized persons or stored as plain text.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_SQL_Server_2016_Y24M07_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-28, CAT|II, CCI|CCI-001199, Rule-ID|SV-213913r961128_rule, STIG-ID|SQL6-D0-001800, STIG-Legacy|SV-93795, STIG-Legacy|V-79089, Vuln-ID|V-213913

Plugin: MS_SQLDB

Control ID: 376de39aaa06f0ff06e7d9a04c7e03f1b83032ce9a54377f35394dda6bc80f30