WinHttpCertCfg.exe multiple certificate issue

  • Thread starter Thread starter Dan Levin
  • Start date Start date
D

Dan Levin

I'm trying to use WinHttpCertCfg.exe -g -c LOCAL_MACHINE\MY -s "Issue To
Name" -a "NetworkService" to set permissions on a certificate on my server.
However, I have 2 certificates with the same "Issue to Name" (one that
expires in a couple weeks and the other is a newer version). I can't remove
the old one because production applications are using it by serial number
reference...

I need to set the permissions on the new one, but the WinHttpCertCfg.exe
command only runs on the first enumerated certificate, which happens to be
the older certificate - so I'm not able to set the perms on the newer one.
How can i set the permissions on the new certificate without removing the old
one? Is there a way to change the enumeration order of the certificates or
set the permissions another way?? Please HELP!!!
 
Back
Top