当安装好SSL后,重启apache,现出:

[root@cd ~]# service httpd restart

Stopping httpd:                                            [FAILED]

Starting httpd: Syntax error on line 45 of /etc/httpd/conf/szmoyea.conf:

Invalid command 'SSLStrictSNIVHostCheck', perhaps misspelled or defined by a module not included in the servfiguration

 

缺少mod_ssl模块 

解决方法:

服务器环境:

CentOS 6 32x
Apache/2.2.3

 

安装SSL模块

1 [root@www ~]# yum install mod_ssl

安装完成,直接重启Apache服务,启动成功