Create an SSL certificate

Source: Internet
Author: User
Tags file copy ssl certificate

OpenSSL req-new-newkey rsa:4096-nodes-sha256-keyout myserver.key-out SERVER.CSR

Create the required key and CSR files

Then follow the prompts to add the appropriate content

Country name (2?letter code): Hkstate or province name (eg. City): Hong konglocality Name (eg. Company): smartbuyglasses OPTICAL limitedorganization Name (e.g, section): Smartbuyglasses OPTICAL Limitedorganizational Unit name (eg, section): smartbuyglasses OPTICAL limitedcomme Name: Fill in the domain name you want to generate a certificate with wildcard characters Email:[email Protected]ssl contact information. You can use the these information for all domains.

Next, the contents of the cat CSR file copy Everything, then the SSL certificate Web site is added to the specified location, and then the appropriate information is filled in as required

Note: In this step, the SSL certificate website will let you fill out a message about you want to add a certificate this domain name of a mailbox, this needs a new idea, the domain name must be and you want to add a certificate of this domain name, the purpose is SSL website will send an e-mail to you, remember the key and then activated, after activation, He will send another e-mail to your mailbox, here Accept all the certificate files, download down on it.

My Apache web

Configured as follows

<virtualhost x.x.x.x:443> Sslengine on sslcertificatefile/etc/httpd/conf/ssl/certnew/xxx.cn/star_xxxxxxxxxxx _CN.CRT Sslcertificatekeyfile/etc/httpd/conf/ssl/certnew/xxx.cn/myserver.key sslcacertificatefile/etc/httpd/conf /SSL/CERTNEW/XXX.CN/ADDTRUSTEXTERNALCAROOT.CRT sslcertificatechainfile/etc/httpd/conf/ssl/certnew/xxx.cn/ Comodorsadomainvalidationsecureserverca.crt


Create an SSL 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.