apache - SSLCACertificateFile 返回未找到的命令

标签 apache ssl mod-ssl

我在托管广告 digitalocean 的域上安装 SSL。我正在关注这个 tutorial .目前我正在尝试执行命令:

SSLCACertificateFile /home/sammy/intermediate.crt

SSLCertificateChainFile /home/sammy/intermediate.crt

但两者都返回我:

SSLCACertificateFile: command not found 

SSLCertificateChainFile: command not found 

错误。我想知道我错过了什么。

最佳答案

这些不是命令,您需要将这些行放在您的配置文件中:httpd.conf

关于apache - SSLCACertificateFile 返回未找到的命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28836868/

相关文章:

linux - 如何在 Centos 7 上设置网站目录(自定义主机)

regex - 带有编码新行的 mod_rewrite 正则表达式规则 (%0A)

linux - 从 Dockerfile 安装 Apache

mysql - Symfony2 学说通过 SSL 连接到数据库

ssl - 绑定(bind) : Permission denied (13) with stunnel for set https

api - 如何在 rails 4 中为自定义位置设置双向 SSL?

Apache SSL : "an obsolete key exchange (RSA)"

linux - Apache 使用 SELinux 在 CentOS 7 上执行 MATLAB 二进制文件

Apache ProxyPass HTTPS 和带有 SNI 的远程服务器