Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

ull backup of all certs certutil where, not exists

Need to have a full backup of all certs

C:\Users\jazz>certutil -ping
CertUtil: -ping command FAILED: 0x80070002 (WIN32: 2)
CertUtil: The system cannot find the file specified.

W2008R2
0
jazzIIIlove
Asked:
jazzIIIlove
1 Solution
 
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
I believe the ping verb in certutil requires a destination.
C:\Users\razmus.TEST>certutil -ping localca
Connecting to localca ...
Server "test-LOCALCA-CA" ICertRequest2 interface is alive (78ms)
CertUtil: -ping command completed successfully.

Open in new window


If you have access to the console of the CA server, the you can perform a 'certutil -backup <destinationfolder>' to backup the CA, which will get the certificates.  (It will ask for a password on the backup itself.)

C:\temp\cabackup>certutil -backup c:\temp\cabackup
Enter new password:
Confirm new password:
Backed up keys and certificates for LOCALCA.test.local\test-LOCALCA-CA to c:\tem
p\cabackup\test-LOCALCA-CA.p12.
Full database backup for LOCALCA.test.local\test-LOCALCA-CA.
Backing up Database files: 100%
Backing up Log files: 100%
Truncating Logs: 100%
Backed up database to c:\temp\cabackup.
Database logs successfully truncated.
CertUtil: -backup command completed successfully.

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now