您的位置:首页 > 其它

Comodo 证书合并

2017-07-13 08:27 621 查看


comodo 证书命名格式一般如上,

apache 证书合并

cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> bundle.crt

SSLEngine on
SSLCertificateFile "/ssl/STAR_originecn_com_cn.crt"
SSLCertificateKeyFile "/ssl/*your_private_key*.key"
SSLCACertificateFile "/ssl/bundle.crt"

nginx 证书的配置

cat STAR_originecn_com_cn.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > ssl-bundle.crt

server {
listen 443;

ssl on;
ssl_certificate /etc/nginx/ssl/example_com/ssl-bundle.crt;
ssl_certificate_key /etc/nginx/ssl/example_com/example_com.key;

# side note: only use TLS since SSLv2 and SSLv3 have had recent vulnerabilities
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

# ...

}
Restart nginx.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Comodo 证书合并