Submitting certificate request
From: rskokan (rskokan_at_anect.com)
Date: 05/31/04
- Next message: Nicole Calinoiu: "Re: FileIOPermission issue"
- Previous message: Mircea Pleteriu: "FileIOPermission issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 31 May 2004 02:36:02 -0700
I've a program that makes certificate request in PKCS#10 and submits it to a CA. In case of CA in standalone configuration, thoh works fine. But when I try to do this on a CA in enterprise configuration, I get error
CCertRequest::Submit The format of the specified domain name is invalid. 0x800704bc (WIN32: 1212)
at CERTCLIENTLib.CCertRequestClass.Submit(Int32 Flags, String strRequest, String strAttributes, String strConfig)
at Anect.BatchEnroll.Certificator.MakeRequest(String reqId, Int32 taskId, String cn, String givenName, String surName, String email, String& pfxFile, String& pfxPassword) in c:\inetpub\wwwroot\batchenroll\certificator.cs:line 171
at Anect.BatchEnroll.Certificator.ProcessRequests() in c:\inetpub\wwwroot\batchenroll\certificator.cs:line 92
When I save the generated request to a file and submit it manually by MMC console, the certificate is issued without any error. So the problem must be in calling Submit method.
I call this in way Submit(CR_IN_BASE64 | CR_IN_PKCS10, req, "", caServer), where req is string with PKCS#10 request and caServer is e.g. @"10.148.2.50\CAE".
I haven't any domain name specified. So whats wrong?
Thanks,
Radek
- Next message: Nicole Calinoiu: "Re: FileIOPermission issue"
- Previous message: Mircea Pleteriu: "FileIOPermission issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|