www.awsgood.com
本教程介绍如何将 GlobalSign 签发的 SSL 证书部署到 Apache,覆盖文件准备、服务器配置与部署验证全流程。
GlobalSign 是欧洲老牌 CA,除 SSL 外提供文档签名、S/MIME 等合规产品,欧洲与日本市场占有率高,审核流程规范。
Apache 2.4.8+ 使用 PEM:把中间证书与站点证书合并进一个 .crt(或分开配置),私钥为 .key。老版本(2.2/2.4.8 以下)需要单独的 ChainFile。
a2enmod ssl headers
systemctl restart apache2
<VirtualHost *:443>
ServerName example.com
SSLEngine on
SSLCertificateFile /etc/ssl/example.com_fullchain.crt
SSLCertificateKeyFile /etc/ssl/example.com.key
Header always set Strict-Transport-Security "max-age=31536000"
</VirtualHost>
apachectl configtest 通过后 systemctl reload apache2。
浏览器访问 https://example.com 确认小锁正常;openssl s_client -connect example.com:443 -servername example.com 核对证书链完整。
openssl x509/rsa -noout -modulus | openssl md5);