创建虚拟主机安装SSL证书时提示出现错误

问答中心分类: OneinStack创建虚拟主机安装SSL证书时提示出现错误
softhai asked 8 年 ago
到最后一步出现提示:
AH00526: Syntax error on line 23 of /usr/local/apache/conf/vhost/www.softhai.com.conf: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
Creat virtualhost ... [FAILED]
下面是出现错误的截图,你这里不能上传图片,我就传我自己服务器了。
http://www.softhai.com/1.png
应该怎么解决呢?

2 Answers
oneinstack answered 8 年 ago
lamp? apache版本多少?

oneinstack answered 8 年 ago
多次重复执行了吧?
rm -rf /usr/local/apache/conf/vhost/www.softhai.com.{crt,key} 后,再试试