As it is so important to backup your Certification Authority servers, automating this task is a bonus thing here.
As you may already know, you need to backup usually the following:
- CA Private Key.
- CA Database Files.
- Configuration in the registry.
- Perhaps the CAPolicy.inf file if any.
I was browsing the internet and i have found a brilliant PowerShell script that will do the trick in a professional way indeed.
The script is written by a PKI geek and you can download his PowerShell Script here. [ I guess it is relocated here:
The script will backup all the previous files in a nice way. I have tested the integrity of the script by trying to restore a CA from the backed up files, and everything was working fine.
Now, you can create a scheduled task, with :
Add Arguments(optional) : type the path of your PowerShell Script, for example C:\Backup_CA.PS1
Finally, make sure it is running as a SYSTEM security context.