Archive for the ‘Windows 2003 Certificate Authority’ Category

Programmatically backup a Certificate Authority using Certutil -backup

November 20, 2008 Leave a comment

Here is the Technet Article explaining the process.

Copy this to a batch file and run it.  I typically schedule the job to run once daily, as the Local System Account. 

Note, the local computer account will need write access to the directory or share you are copying the database to.  You should also place a secure password in the command.

certutil -backup -p "password" -f -gmt -seconds -v \\ServerName\CABackup\

The directory should look similar to this after the script runs.