Configure simple Apachehttps in RHEL6.3

Source: Internet
Author: User
By default, Apache allows anonymous access from clients, but Apache can also implement encrypted authentication access. Here is a detailed description of the DEMO implementation process. 1. Install the corresponding support module. First, check whether there is an ssl. conf file under/etc/httpd/conf. d. If no mod_ssl encryption support module is required. [Root @ localhostDesktop] # cd/etc/ht by default, Apache allows anonymous access from the client, but Apache can also implement encrypted authentication access. Here is a detailed description of the DEMO implementation process.
 
1. install corresponding support modules
First, check whether there is an ssl. conf file under/etc/httpd/conf. d. If no mod_ssl encryption support module is required.
 
 
 
[Root @ localhost Desktop] # cd/etc/httpd/conf. d
 
[Root @ localhost conf. d] # ls
 
Mod_dnssd.conf README welcome. conf
 
Use YUM source for Installation
 
[Root @ localhost rhel6] # yum-y install mod_ssl
 
Loaded plugins: product-id, refresh-packagekit, security, subrole-manager
 
Updating certificate-based repositories.
 
Unable to read consumer identity
 
RHEL | 4.0 kB...
 
Setting up Install Process
 
Resolving Dependencies
 
--> Running transaction check
 
---> Package mod_ssl.i686. 2.15-15. el6_2.1 will be installed
 
--> Finished Dependency Resolution
 
Dependencies Resolved
 
========================================================== ==========================================================
 
Package Arch Version Repository Size
 
========================================================== ==========================================================
 
Installing:
 
Mod_ssl i686. 2.15-15. el6_2.1 RHEL 88 k
 
Transaction Summary
 
========================================================== ==========================================================
 
Install 1 Package (s)
 
Total download size: 88 k
 
Installed size: 181 k
 
Downloading Packages:
 
Running rpm_check_debug
 
Running Transaction Test
 
Transaction Test Succeeded
 
Running Transaction
 
Installing: 1: mod_ssl-2.2.15-15.el6_2.1.i686 1/1
 
Installed products updated.
 
Verifying: 1: mod_ssl-2.2.15-15.el6_2.1.i686 1/1
 
Installed:
 
Mod_ssl.i686. 2.15-15. el6_2.1
 
Complete!
 
 
 
[Root @ localhost conf. d] # ls
 
Mod_dnssd.conf README ssl. conf welcome. conf

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.