I administrate a number of Windows Servers (mostly 2008 R2 or 2012 R2) and I have to process a lot of SSL certificate renewals. When we renew from our vendor, Globalsign, they automatically generate a certificate request used for the renewal. When I install the completed certificate through the Server Certificates section in IIS, it accepts the certificate with no fuss. However, when I try and use certreq -accept "C:\certpath.cer" to install the completed certificate, it returns an error like the following:
Certificate Request Processor: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)
Is there any way to get around this without generating a certificate request on the server beforehand, or is there another command that would work better? The aforementioned command does work if the request has been generated on the server manually, but the fact that I can still get the certificate installed with private key via the GUI means that it should be possible through command line somehow too.