Re: PKCS7 renewal request
From: Sylvain (noSpam_at_mail.net)
Date: 09/20/05
- Previous message: Sylvain: "Re: Alternative store vs. MY store"
- Maybe in reply to: Byron: "Re: PKCS7 renewal request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 20 Sep 2005 00:45:34 +0200
Byron wrote on 19/09/2005 21:09:
>
> I have a "ASP" file that breaks at the same line number everytime.
>
> The line number in question is:
> "RequestStr = CertEnroll.createRequest( XECR_CMC, name, "1.3.6.1.5.5.7.3.2")"
>
> name is a name value pair that comes in from the request and its values are:
> Agent: AGSUB#=8155¬&AGGEN#=003¬&CSAA;
>
> get's invoked it give's me the following error: Certificate: Error,
> -2147024894 somehthing about a file not found.
let's review the parameters:
XECR_CMC should be defined in makeCertCnfTest.inc
1.3.6.1.5.5.7.3.2 is a valid OID for client authentication cert
so name should contain something invalid ... according MSDN, it must
contains DN or OID identifier / values pairs (e.g. "CN=User,
O=Microsoft" or "2.5.4.3=User,2.5.4.10=Microsoft")
your syntax "Agent: AGSUB#=8155¬&AGGEN#=003¬&CSAA;" looks quite different !
I think CertEnroll only manages prefixes is able to recognize (those
like "CN", "O", "OU", etc) so it fails to interpret your "AGSUB#" and
"AGGEN#" identifiers; to find an old cert, recover OIDs for these DNs
from it and try to use these OIDs in your "name" sentence.
Sylvain.
- Previous message: Sylvain: "Re: Alternative store vs. MY store"
- Maybe in reply to: Byron: "Re: PKCS7 renewal request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|