HTTPS configuration for Apache

Source: Internet
Author: User
Tags cas

To install the certificate certificate instance:214485390500130.zipFile Description: 1. Certificate file 214485390500130.pem, contains two pieces of content, please do not delete any piece of content. 2. If it is a CSR created by the certificate system, it also contains: Certificate private key File 214485390500130.key, certificate public key file Public.pem, certificate chain file CHAIN.PEM. (1) Create the CERT directory under Apache's installation directory and copy all downloaded files to the Cert directory. If the certificate is a self-created CSR file, place the corresponding private key file in the Cert directory and name 214485390500130.key, (2) Open the httpd.conf file in the Conf directory in the Apache installation directory, find the following and remove the "# ”:
#LoadModule Ssl_module modules/mod_ssl.so (if it is not found, verify that the OpenSSL plugin is compiled) #Include conf/extra/httpd-ssl.conf
(3) Open the Apache installation directory under the conf/extra/httpd-ssl.conf file (or conf.d/ssl.conf, which is related to the operating system and installation method), look for the following configuration statement in the configuration file:
# Add the SSL protocol support Protocol, remove the insecure protocol Sslprotocol all-sslv2-sslv3# modify the encryption suite as follows Sslciphersuite high:! rc4:! md5:!anull:!enull:! Null:! Dh:! edh:! Exp:+mediumsslhonorcipherorder on# Certificate Public key configuration Sslcertificatefile cert/public.pem# certificate private key configuration Sslcertificatekeyfile cert/ 214485390500130.key# certificate chain configuration, if the property starts with the ' # ' character, delete the Sslcertificatechainfile Cert/chain.pem
(4) Restart Apache. (5) Access your site via HTTPS, test the installation configuration of the site certificate, and if you encounter a certificate distrust issue, check the Help video

HTTPS configuration for Apache

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.