.NET创建证书

.NET创建证书(草稿)

 

签名工具 (SignTool.exe)

http://msdn.microsoft.com/zh-cn/library/8s9b9yaz(v=VS.90).aspx

证书创建工具 (Makecert.exe)

http://msdn.microsoft.com/zh-cn/library/bfsktky3(VS.80).aspx

(注意:Microsoft Visual Studio 2008Makecert.exe不支持命令-pe

ISO国家代码表

http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

 

-n 参数格式

C=ZA, S=Western Cape, L=Cape Town, O=Thawte Consulting cc, OU=Certification Services Division, CN=Thawte Server CA/emailAddress=server-certs@thawte.com

 

        
CN=cName, OU=orgUnit, O=org, L=city, S=state, C=countryCode
 参数说明
C=country
S=stateName
L=localityName
O=organizationName
OU=organizationUnit
CN=commonName
 

·         commonName - common name of a person, e.g., "Susan Jones"

·         organizationUnit - small organization (e.g, department or division) name, e.g., "Purchasing"

·         organizationName - large organization name, e.g., "ABCSystems, Inc."

·         localityName - locality (city) name, e.g., "Palo Alto"

·         stateName - state or province name, e.g., "California"

·         country - two-letter country code, e.g., "CH"