OpenSSL establishes a private CA

Source: Internet
Author: User

encryption , decryption, and OpenSSL establishing a private CA

Enc DGST

Host

[[Email protected] ca]# (umask 077; OpenSSL genrsa-out private/cakey.pem 2048) Create private key

[[email protected] ca]# OpenSSL req-new-x509-key private/cakey.pem-out cacert.pem-days 7300 generated from the visa book

[email protected] ca]# Touch index.txt

[[email protected] ca]# echo > Serial generate index file

129 Host

[[Email protected] ssl]# (umask 077; OpenSSL genrsa-out httpd.key 2048) establish the server's private key

[[email protected] ssl]# OpenSSL req-new-key httpd.key-out httpd.csr-days 365 Generate private authentication

[Email protected] ssl]# SCP HTTPD.CSR [email protected]:/tmp/long pass public key acquisition certificate

Host

[[email protected] ca]# OpenSSL ca-in/tmp/httpd.csr-out certs/www.qiuye.com.crt-days 365 Generate certificate

[Email protected] ca]# SCP certs/www.qiuye.com.crt [email protected]:/etc/httpd/ssl issued certificate


OpenSSL establishes a private 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.