Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 519
  • 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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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