Apache enable HTTPS mod_ssl.so, using GoDaddy's SSL certificate

Source: Internet
Author: User
Tags generate csr openssl ssl certificate godaddy ssl certificate

1. Confirm that your Apache has already supported the Mod_ssl module for installation OpenSSL

2. OpenSSL req-new-newkey rsa:2048-nodes-keyout yourdomain.key-out YOURDOMAIN.CSR

Generate CSR files and paired key, the CSR file here needs to be submitted to the service provider in order to obtain the certificate (I use the GoDaddy SSL certificate)

The submissions must include this paragraph as follows
-–begin Certificate request-–
.....
-–end Certificate request-–
3. Open/etc/httpd/httpd.conf inside the include extra/httpd-ssl.conf

Sslcertificatefile "/HOME/WEB/SITE_SSL/CRT/GODADDY.CRT" => the certificate obtained by GoDaddy

Sslcertificatekeyfile "/home/web/site_ssl/crt/yourdomain.key" => above its own generated key

Bundle certificate Path obtained by Sslcertificatechainfile "/HOME/WEB/SITE_SSL/CRT/GD_BUNDLE-G2-G1.CRT" =>godaddy

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.