CentOS Configuration SSL Service

Source: Internet
Author: User

Using the Appach 2.4. Version 10 versions are configured differently

1, first modify the httpd.conf file

Found in the Conf folder in the Appach installation directory

#LoadModule Socache_shmcb_module modules/mod_socache_shmcb.so

Remove the "#" number

#LoadModule Ssl_module modules/mod_ssl.so

Remove the "#" number

Save, upload to server

2. Modify the httpd-ssl.conf file

Appach installation directory Conf/extra folder found in

Specify the following content separately

Sslcertificatefile "/ALIDATA/SERVER/HTTPD/CONF/SERVER.CRT" (Web server certificate path)

Sslcertificatekeyfile "/alidata/server/httpd/conf/server.key" (the key file path generated when requesting a certificate)

Sslcertificatechainfile "/ALIDATA/SERVER/HTTPD/CONF/SERVER-CA.CRT" (Web server Intermediate certificate path)

Upload the above three files to the above location, then restart the Appach server to complete the initial deployment work

First stop

Apachectl-k stop

Then start Appach

Apachectl-k start

NETSTAT-TANP to see if there are 443 ports open

If you set the Vhost mode, you need to specify the <virtualhost domain name:443> node in the httpd-ssl.conf file and configure the relevant content under the change node

CentOS Configuration SSL Service

Related Article

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.