在Mac OS X上设置SSL

时间:2014-11-20 22:05:59

标签: macos apache

我相当熟悉Mac和Apache httpd。

我需要在mac的内置apache上设置SSL。我按照here的步骤进行了操作,但是当我尝试使用此命令启动httpd时

root# /usr/sbin/httpd -k start

我收到错误

httpd: Syntax error on line 501 of /private/etc/apache2/httpd.conf: Could not open configuration file /private/etc/apache2/other/cc7-local-httpd-ssl.conf: No such file or directory

并且确实cc7-local-httpd-ssl.conf文件不存在。那么,我如何创建或生成此文件?

0 个答案:

没有答案