A lots of different systems and platforms use certificates and Public Key Infrastructure (PKI). Many companies have decided to implement an internal Certification Authority to issue certificates to computers, users, and other Certification Authorities.
The loss of PKI data can be devastating, even requiring a full enterprise rebuild in some cases. So you need to ensure that you back up not just the CA system itself, but the CA’s database as well. This applies even when you’re using Active Directory integrated PKI as an Enterprise CA.
Although the steps seem simple, they’re very important. Without all of these steps you will be challenged to recover the CA after a catastrophic loss.
Steps to backing up a Certificate Server
The steps to back up a Windows Certificate Server running on Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, or Windows Server 2012 R2 are all the same. They are:
- Run Certutil –backupDB on the CA. This backs up the entire CA database to a folder of your choice.
- Run Certutil –backupKey on the CA. This backs up the certificate and private key that the CA is currently using to a PFX file in the folder of your choice.
- Perform a full system backup. Use any tool you like. The built-in Windows Backup is fine, and if your organization uses a higher-end backup solution, even better. Make certain that your backup includes the folders that you specified in the Certutil commands!
- Perform a backup of the Active Directory database. Do not rely on replication to save you if you need to recover from a major incident, as bad data is just as easily and quickly replicated as good data. Again, use whatever tool or process you prefer.
Now store the backed up data in a safe place and pray that you never need it!
If you want more Windows PKI articles please be sure to drop me a comment.