【发布时间】:2019-07-12 09:09:29
【问题描述】:
我知道这看起来是一个老问题,但我的情况是,我的文件名与我所期望的和我在实际 Apache2 配置中看到的不同,所以如果可能的话,我需要一个更准确的答案。
我从我的 SSL 证书提供商那里获得了这些文件
- DigiCert_Global_Root_G2.crt
- mydomain.it.crt
- mydomain.it.csr
- mydomain.it.key
- mydomain.it.pfx
- RapidSSL_TLS_RSA_CA_G1.crt
其实我的apache配置为
SSLCertificateKeyFile /etc/apache2/ssl-conf/mydomain.it.key
SSLCertificateFile /etc/apache2/ssl-conf/mydomain.it.cer
SSLCertificateChainFile /etc/apache2/ssl-conf/intermediate.cer
我不知道每个项目关联到哪个文件
嗯,很明显,keyfile 就是 .key。 但是哪个 .crt 适合 CertificateFile,哪个适合 CertificateChainFile?
编辑
我阅读了https://www.ssl247.it/support/install/apache,我认为我必须使用 mydomain.it.crt 作为 SSLCertificateFile
最后一个问题是:在我的情况下,intermediate.cer 相当于什么?
【问题讨论】: