To sign a certificate with a CA

Source: Internet
Author: User
Tags openssl x509

This article original from Http://blog.csdn.net/voipmaker reprint annotated source.

This series is divided into three articles, mainly about building your own certificate issuance services, generating certificate requests, and signing and eventually applying the generated certificate request to the service through your own built ca.

This article is the last one, combined with the previous two articles, you can sign your own application with your own built-in CA.

This article assumes that you have referred to the signature two-article process,
CA Key in Directory/home/cg/myca/private/
CA Root Certificate in/home/cg/myca/certs/
CA configuration file in/home/cg/myca/conf/
Serial in/home/cg/myca/
Index.txt in/home/cg/myca/


Copy the CSR file Csr.server1.pem to the/home/cg/myca/csr/directory


To sign the CSR:


OpenSSL x509-days 3650-ca certs/crt.ca.cg.pem-cakey private/key.ca.cg.pem-req-in csr/csr.server1.pem-outform Pem-ou T certs/crt.server1.pem-caserial serial


Final file Certs/crt.server1.pem
That is, the generated signing certificate

To sign a certificate with a CA

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.