3

I need to install/import a CA cert (.cer) into the Trusted Root Cert Authorities store of a Win XP Home using command line. Anyone has any idea which command i can use?

Jonas Stawski
  • 479
  • 1
  • 8
  • 17

4 Answers4

2

Certutil.exe should do the trick, more details here in this Microsoft KB article. I've only used certutil on Server 2003 and XP Pro but according to this Microsoft KB XP Home is not listed so you may have issues.

If Certutil doesn't work for you you may be able to use a third party tool. Here's an example of a project that appears to do this but if there are issues with Certutil working I suspect there may be issues with this too, although you might be lucky.

Helvick
  • 19,579
  • 4
  • 37
  • 55
  • 1
    I ended up installing Admin pack on a Win XP pro box and copying the following files to the Win XP home box: certadm.dll, certcli.dll, certreq.exe, certutil.exe – Jonas Stawski Mar 30 '10 at 13:51
2

You need to use the version of certutil.exe from the Windows Server 2003 Administration Tools Pack. Also QFE Q329357 is required.

fpmurphy
  • 841
  • 6
  • 13
2

Be careful using -f (force) or you may end up creating duplicate certificate stores.

1

Using Certutil you can run the following syntax:

certutil -f -addstore -enterprise root Certificate_Name.cer
Dscoduc
  • 1,095
  • 2
  • 8
  • 15