I'm trying to use the certreq to create a renewal for an existing
certificate. I have the certificate and it's private key installed in both
the Local Machine | MY, and the Current User | My store. I've tried both
with the key being exportable and not exportable, and have tried with it in
only one of the two stores - but neither has worked...
I create the renewal.inf (below) and I run the command "certreq -new
renewal.inf renewal.req" and it then shows the certificate prompt where I
can choose the certificate that was found using the RenewalCert hash; after
hitting ok; I receive the following errors (I have a checked/debug build of
the certreq for troubleshooting purposes)..
certreq.exe: 5.2.3790.0 retail (srv03_rtm.030324-2048)
1401.6158.0: 0x80090016 (-2146893802)
1401.6952.0: 0x80090016 (-2146893802)
1401.7080.0: 0x80090016 (-2146893802)
Certificate Request Processor: Keyset does not exist 0x80090016
(-2146893802)
[RequestAttributes]
In essence, the error is: "Keyset does not exist 0x80090016".
Because there is a [RequestAttributes] in the error message, I've tried
removing the RequestAttributes and supplying the value in -attrib, I've
tried just not supplying a value for the template type; I've tried removing
various request attributes like the Key Length and the KeySpec,
MachineKeySet, KeyUsage, SMIME, and nothing is working...
[Version]
Signature = $Windows NT$
[NewRequest]
KeyLength = 1024
KeySpec = 1
MachineKeySet = True
KeyUsage= 0xA0
SMIME = False
UseExistingKeySet = True
RenewalCert = 06200DB36C...[REMOVED]...CE9E73AD052D9
[RequestAttributes]
CertificateTemplate = "ApplicationAuthentication"
Any help would be appreciated!
Jediah L.
Jediah L.
"Jediah L." <ri...@nospam.nospam> wrote in message
news:eastxc0x...@TK2MSFTNGP04.phx.gbl...