#cat intermediate.crt intermediate.crt root.crt > ca_bundle.crt
cat <證書頒發機構名稱>RSAOrganizationValidationSecureServerCA.crt USERTrustRSAAAACA.crt AAACertificateServices.crt > ca_bundle.crt
#cat *_company_com.crt ca_bundle.crt > server.crt
cat STAR_<我們公司名稱>_com.crt ca_bundle.crt > server.crt
在Nginx設定檔填入
server {
listen 80;
server_name #網域名稱;
return 302 https://$host$request_uri; #將http要求導向到https
}
server {
listen 443 ssl;
server_name #網域名稱;
ssl_certificate /etc/nginx/cert/server.crt;
ssl_certificate_key /etc/nginx/cert/server.key;
ssl_prefer_server_ciphers on;
location / {
#既有設定
}
}