Windows系统生成CSR请求证书文件步骤

Generating a CSR for signing Windows Code:

  1. Open certmgr.msc

  2. Right click the “Personal” node.

  3. Navigate to All Tasks > Advanced Operations > Create Custom Request.

  4. Select “Proceed without enrollment policy” and click Next.

  5. Make sure the Request Format is PKCS #10 and select Next.

  6. Expand Details and select Properties.

  7. Under the General tab you need to give the certificate a descriptive friendly name.

  8. Under the Subject Tab you need to include a valid value for the following attributes:

    Common Name – The name of your business.

    Organization – The name of your business.

    Locality – The physical location your business resides.

    State – The territory where your business resides.

    Country – The primary country your business operates in.

  9. Under Extensions, make sure to add “digital signature” and “key encipherment” and “key certificate signing”.

  10. Under Extender Key usage (Application Policies) make sure to add Code Signing.

  11. Under “Private Key”, make your key size at least 2048. Select “Make your private key exportable”. Do NOT select “Strong private key protection”. Under Hash algorithm select “Sha256”. Click OK.

  12. Select next, and export your CSR in Base 64 format. Open this in notepad and paste the contents into SSLTrust SSL Configuration Panel for the Certificate you have ordered so that we can process your certificate request. Remember to use Internet Explorer or Chrome as Firefox maintains its own Certificate Store and will not function as expected.

你可能感兴趣的:(Windows系统生成CSR请求证书文件步骤)