Use CA to sign the certificate and CA to sign the certificate

Source: Internet
Author: User
Tags openssl x509

Use CA to sign the certificate and CA to sign the certificate

This article original from the http://blog.csdn.net/voipmaker reprint indicate the source.

This series of articles is divided into three parts. It mainly introduces how to build your own certificate issuing service, generate certificate requests, and sign the generated certificate request through the self-built CA and finally apply it to the service.

This article is the last one. In combination with the previous two articles, you can sign your own applications through a self-built CA.

This document assumes that you have already referred to the two signature document procedures,
The CA key is in the/home/cg/myca/private/directory/
CA root certificate in/home/cg/myca/certs/
The CA configuration file is in/home/cg/myca/conf/
Serial in/home/cg/myca/
Index.txt in/home/cg/myca/


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


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-out certs/crt. server1.pem-CAserial serial


Final file certs/crt. server1.pem
Is the generated signature certificate

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.