Click here to get back home

Signing an OpenSSL CSR with Microsoft Certificate Authority

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Signing an OpenSSL CSR with Microsoft Certificate Authority Dave Morrow 07-24-2005
Posted by Dave Morrow on July 24, 2005, 10:33 am
Please log in for more thread options
I am attempting to sign an OpenSSL generated CSR with Microsoft
Certification Authority.

I generated the CSR using the instructions the instructions on the Apache
website and successfully got the CSR. When I attempt to sign the CSR using
Microsoft's Certificate Authority, I get the error "The request contains no
certificate template information."

Does anyone know how to do this?




Posted by S. Pidgorny on July 25, 2005, 7:08 pm
Please log in for more thread options
Better use Web interface or certreq.exe to request the cert. I'm most
certain that the enterprise CA Web interface allows to select template for a
request.

If you'd like to have the whole lot done by OpenSSL - you can do that too.
As usually, documentation is largely missing and some assembly required but
here's the deal:

* You can add the template name to the request - it is an attribute with OID
1.3.6.1.4.1.311.20.2
* Openssl allows to add optional attributes in the request configuration
file. See req man page for details.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-


> I am attempting to sign an OpenSSL generated CSR with Microsoft
> Certification Authority.
>
> I generated the CSR using the instructions the instructions on the Apache
> website and successfully got the CSR. When I attempt to sign the CSR using
> Microsoft's Certificate Authority, I get the error "The request contains
no
> certificate template information."
>
> Does anyone know how to do this?
>
>




Posted by Dave Morrow on July 25, 2005, 9:40 am
Please log in for more thread options
Thanks for the reply.

I'll have to look into how to add the appropriate information to the CSR
with OpenSSL. I've already tried using the web interface with the same
results (no template).


> Better use Web interface or certreq.exe to request the cert. I'm most
> certain that the enterprise CA Web interface allows to select template for
> a
> request.
>
> If you'd like to have the whole lot done by OpenSSL - you can do that too.
> As usually, documentation is largely missing and some assembly required
> but
> here's the deal:
>
> * You can add the template name to the request - it is an attribute with
> OID
> 1.3.6.1.4.1.311.20.2
> * Openssl allows to add optional attributes in the request configuration
> file. See req man page for details.
>
> --
> Svyatoslav Pidgorny, MS MVP - Security, MCSE
> -= F1 is the key =-
>
>
>> I am attempting to sign an OpenSSL generated CSR with Microsoft
>> Certification Authority.
>>
>> I generated the CSR using the instructions the instructions on the Apache
>> website and successfully got the CSR. When I attempt to sign the CSR
>> using
>> Microsoft's Certificate Authority, I get the error "The request contains
> no
>> certificate template information."
>>
>> Does anyone know how to do this?
>>
>>
>
>




Posted by Sebastian Rieger on July 25, 2005, 9:44 pm
Please log in for more thread options
Using the web enrollment pages you can simply supply the attribute in
the "Additional Attributes" text field. Just use:

CertificateTemplate: <template_name>

If you need it more regulary, you can extend the web enrollment pages,
like e.g. http://user-ca.mpg.de/request/certrqxt.asp?reqmode=1.

MfG

Sebastian Rieger

Dave Morrow schrieb:
> Thanks for the reply.
>
> I'll have to look into how to add the appropriate information to the CSR
> with OpenSSL. I've already tried using the web interface with the same
> results (no template).
>
>
>
>>Better use Web interface or certreq.exe to request the cert. I'm most
>>certain that the enterprise CA Web interface allows to select template for
>>a
>>request.
>>
>>If you'd like to have the whole lot done by OpenSSL - you can do that too.
>>As usually, documentation is largely missing and some assembly required
>>but
>>here's the deal:
>>
>>* You can add the template name to the request - it is an attribute with
>>OID
>>1.3.6.1.4.1.311.20.2
>>* Openssl allows to add optional attributes in the request configuration
>>file. See req man page for details.
>>
>>--
>>Svyatoslav Pidgorny, MS MVP - Security, MCSE
>>-= F1 is the key =-
>>
>>
>>
>>>I am attempting to sign an OpenSSL generated CSR with Microsoft
>>>Certification Authority.
>>>
>>>I generated the CSR using the instructions the instructions on the Apache
>>>website and successfully got the CSR. When I attempt to sign the CSR
>>>using
>>>Microsoft's Certificate Authority, I get the error "The request contains
>>
>>no
>>
>>>certificate template information."
>>>
>>>Does anyone know how to do this?
>>>
>>>
>>
>>
>
>


Similar ThreadsPosted
Not certified for Certificate Signing October 12, 2005, 7:48 pm
Create Certificate Request for Windows2003 certificate authority without using website March 22, 2006, 8:07 am
Root Certificate Authority October 22, 2006, 6:35 am
PEM file with certificate authority? February 6, 2007, 10:56 am
Re: Rendom and certificate authority on DC June 5, 2007, 11:25 am
Searching Certificate Authority September 17, 2007, 6:02 pm
Clustering Certificate Authority Server November 21, 2005, 5:27 am
Certificate Authority backup failed. November 27, 2005, 6:41 pm
How to tell if Certificate Authority is root, stand-alone or? February 8, 2007, 10:27 am
Virtualized Certificate Authority Services May 20, 2008, 3:19 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap