How to restore certificates used for the Azure SQL VM Automated Backup

Keiran Royston 0 Reputation points
2024-07-25T12:02:13.1633333+00:00

I'm testing out encryption for encrypting the SQL backups taken for Azure SQL VM databases, however, I'm unable to restore the certificates generated when setting up encryption as I cannot find the .pvk files.
Are these stored in another location or are the certificates restored using another method? I can find the certificates in the 'automaticbackup' container of the storage account but not any .pvk files, which the 'CREATE CERTIFICATE FROM FILE' T-SQL command requires.

Breadcrumb to get to Automated backups

SQL virtual machine > VIRTUAL MACHINE NAME HERE > Backups > Automated Backup

Values set

Encryption: Enable

Password

Confirm Password.

SQL Server on Azure Virtual Machines
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.