On August 28, 2008 01:54:50 pm Jakob Grießmann wrote: > Hi, > > > It is likely that the documentation will also describe what extensions > > must be included to mark an end-entity certificate as EV. I don't > > know the details. > > okay, I will dig deeper there. :-) Thanks! > > Does anyone has an instruction on how to generate a certificate with > the needed OIDs? What parameters do I have to supply to OpenSSL? > Take a look at the CA/Browser forum web site at:
http://www.cabforum.org/ If you read their specifications at: http://www.cabforum.org/EV_Certificate_Guidelines_V11.pdf The information is in there: Essentially, you need to have the Subject DN formatted with O= The Organisation to whom the Certificate is being issued. businessCategory (OID 2.5.4.15) = one of the values on page 10 of the above PDF Locality (if required by the entities incorporation level): subject:jurisdictionOfIncorporationLocalityName (OID 1.3.6.1.4.1.311.60.2.1.1) ASN.1 - X520LocalityName as specified in RFC 3280 State or province (if required by the entities incorporation level): subject:jurisdictionOfIncorporationStateOrProvinceName (OID 1.3.6.1.4.1.311.60.2.1.2) ASN.1 - X520StateOrProvinceName as specified in RFC 3280 Country: subject:jurisdictionOfIncorporationCountryName (OID 1.3.6.1.4.1.311.60.2.1.3) ASN.1 - X520countryName as specified in RFC 3280 serialNumber = the Business Registration number of the Company asserted in the O= value. Number & street (optional) subject:streetAddress (OID 2.5.4.9) City or town subject:localityName (OID 2.5.4.7) State or province (if any) subject:stateOrProvinceName (OID 2.5.4.8) Country subject:countryName (OID 2.5.4.6) Postal code (optional) subject:postalCode (OID 2.5.4.17) CN= the FQDN of the server or device that is being asserted. And the rest of the stuff is in Appendix B of the above PDF. For information on how to set up a CA and configure most of those parameters (aside from the DN), check out the whitepaper that my colleague published at: http://www.carillon.ca/library/howtos.php (The CertiPath OpenSSL howto - CertiPath's certificate profiles require many of the same settings as the CA/Browser forum) Now - OpenSSL doesn't yet know about a lot of the Subject fields - so you may have issues encoding them correctly. You can use the [new_oids] section of the openssl.cnf file to define the OID to name mapping, and then use that in the [req] sections to generate the original DN, however that may cause some of the entries to be formatted in not quite a standards compliant way (i.e.: it may generate IA5Strings instead of UTF-8 or printableString values). However, it should get you at least started. Have fun. -- Patrick Patterson President and Chief PKI Architect, Carillon Information Security Inc. http://www.carillon.ca ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
