CentOS 아파치 SSLEngine 모듈 설치

Jmnote (토론 | 기여)님의 2012년 9월 24일 (월) 22:14 판
Invalid command 'SSLEngine'
mod_ssl 설치

1 문제 상황

[root@jmnote ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 1011 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

2 확인

[root@jmnote ~]# yum info mod_ssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Daum                                                                                       | 3.7 kB     00:00     
Available Packages
Name        : mod_ssl
Arch        : x86_64
Epoch       : 1
Version     : 2.2.15
Release     : 15.el6.centos.1
Size        : 87 k
Repo        : Daum
Summary     : SSL/TLS module for the Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The mod_ssl module provides strong cryptography for the Apache Web
            : server via the Secure Sockets Layer (SSL) and Transport Layer
            : Security (TLS) protocols.

3 설치

[root@jmnote ~]# yum install mod_ssl -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.2.15-15.el6.centos.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================
 Package                Arch                  Version                                   Repository           Size
==================================================================================================================
Installing:
 mod_ssl                x86_64                1:2.2.15-15.el6.centos.1                  Daum                 87 k

Transaction Summary
==================================================================================================================
Install       1 Package(s)

Total download size: 87 k
Installed size: 183 k
Downloading Packages:
mod_ssl-2.2.15-15.el6.centos.1.x86_64.rpm                                                  |  87 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:mod_ssl-2.2.15-15.el6.centos.1.x86_64                                                        1/1 
  Verifying  : 1:mod_ssl-2.2.15-15.el6.centos.1.x86_64                                                        1/1 

Installed:
  mod_ssl.x86_64 1:2.2.15-15.el6.centos.1                                                                         

Complete!
[root@jmnote ~]# service httpd start
Starting httpd: [Sun Sep 23 23:59:14 2012] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
                                                           [  OK  ]

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}