Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Error in Certificate Request....

Posted on 2009-05-14
Medium Priority
Last Modified: 2012-05-07
Hi Experts,

I am facing problem in creating an certificate. I have created a certificate request in the notepad as below:

Subject =""
Exportable = TRUE
KeySpec = 1
MachineKeySet = TRUE

saved this file as bcmcert.inf. Now I ran the command in the command prompt....
certreq -new bcmcert.inf bcmcert.req.
This command has created bcmcert.req without any issues. Now I stared local Microsoft Certificate Services, and clicked on "Request a Certificate" -> "advanced certificate request" -> "submit a certificate request by using a base 64-encoded CMC...", copied the content of bcmcert.req into the text box, and clicked on submit. I got the below error........


Your request failed. An error occurred while the server was processing your request.

Contact your administrator for further assistance.


Request Mode:
newreq - New Request
(never set)
Disposition message:
The parameter is incorrect. 0x80070057 (WIN32: 87)
COM Error Info:
CCertRequest::Submit The parameter is incorrect. 0x80070057 (WIN32: 87)
The parameter is incorrect. 0x80070057 (WIN32: 87)
Suggested Cause:
No suggestions.
Could anyone please suggest, where i have gone error? Your help will be highly appreciated...

Question by:Phani_Vasabattula
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 31

Expert Comment

ID: 24389908
Try the code below for your .inf file.  If you use templates, you can add the following at the end (replace WebServer with correct template name - not template friendly name - no spaces):
 CertificateTemplate = WebServer

Here is a link that explains everything if you need it:

My example also increases your key strength from 1024 to 2048, which you should be doing these days anyways.

I assume that "certreq -new bcmcert.inf bcmcert.req. " did not have a period at the end as in the example?

Also, you might try using pkiview.msc (PKI Health Tool - available in 2003 resource kit, comes standard in 2008 renamed as Enterprise PKI).  This will allow you to diagnose a number of PKI related issues quickly.
 Signature="$Windows NT$"
 Subject =""
 Exportable = TRUE
 KeySpec = 1	; Valid for signing and encryption - standard for TLS / SSL
 KeyLength = 2048
 MachineKeySet = TRUE	; Stores in local computer store
 UseExistingKeySet = FALSE
 PrivateKeyArchive = FALSE
 UserProtected = FALSE	; Must be set to false
 ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
 ProviderType = 12
 RequestType = CMC	; Try changing this to PKCS10 instead of CMC if still having problems
 OID =	; OID for Server Authentication

Open in new window


Author Comment

ID: 24454992
Thanks for the reply. I have followed the same steps, and it is nto working. This is due different scenario I had. Let me explain you the situation.

I have installed an SAP application on my personal laptop. This application is running at 192.xx.xx.1. This application has also installed a web site on IIS 6.0 with virtual address 192.XX.XX.2 on the same laptop. Now I am calling website from IE with address http://192.XX.XX.2/default.htm. Here the IE has to start application with an SSL certificate. I created the SSL certificate serveral ways and failed. Finally, what I understood is that I am creating an SSL creating with the subject as

Subject = "", O=TRAINING....

where is my computer name, and Workgroup name is WORKGROUP.

From documentation, I understood that CN should be the DNS or NetBIOS name. Where my system is standalone system with workgroup defined as WORKGROUP.

Have I specified the correct value to CN parameter? If not, what is the value that I should specify? Can I create SSL certificate for a workstation? If yes, how? I need help on this very badly, and I can call you and share my desktop if required. my personal mail id is

Request your inputs, and Thanks for your time.

LVL 31

Expert Comment

ID: 24455217
The CN can be netbios name, DNS name, IP address, or canonical name.  DNS is most common.  However, it must match what you are calling.

Since you are calling it as 192.x.x.2 that is what you need for the CN.  You can get a SAN cert from many commercial CAs or from your own CA (need to enable SAN on your own CA first) - some commercial CA's don't like to issue to internal IP addresses though.  I think Comodo will, but I'm not positive offhand, godaddy I've heard does not.

Also, make sure you are calling it as https:// instead of http:// since it is an SSL page.

It is generally best to use a CA signed certificate, however you can also use a self-signed cert - makecert.exe you can download from microsoft as part of the Platform SDK.  Command reference is here:

Download SDK here if you don't already have it:

example command:
makecert -n "CN=192.x.x.1" -pe -sr localmachine -ss CA -a sha1 -r CertName.cer

Since you are accessing this on the local box, you may need to look into this - not sure if it applies since it is a different IP address at least:
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

LVL 31

Accepted Solution

Paranormastic earned 2000 total points
ID: 24455247
Alternatively, you can use IIS to create a cert and export it, or you can download open source program (a good one) called openssl - make sure to get the windows version.

here's an article on using openssl to create a certificate request - this can be done on a workstation/laptop or server.

Author Comment

ID: 24455399
Thanks for your quick reply. I will try this and get back to you. Assuming that I have not provided the system details.....

OS Windows 2003 Service Pack 1
W3SVC IIS6 - World Wide Web Publishing service is running
Host name crm2007
Dns suffix
Workgroup name WORKGROUP

Kindly direct, if you have any more suggestions for me.

Thanks once again.......


Author Closing Comment

ID: 31581680
Hurray!! Self-signed certificates worked for me. Thanks a lot!! I wish to give 10,000 points.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
The recent Petya-like ransomware attack served a big blow to hundreds of banks, corporations and government offices The Acronis blog takes a closer look at this damaging worm to see what’s behind it – and offers up tips on how you can safeguard your…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question