使用 openssl 建立 CSR
openssl req -new -newkey rsa:2048 -nodes -keyout example.key -out example.csr
上述動作完成後,就會得到兩個檔案
example.key: SSL 的 private key,要好好保管喔!
example.csr: 這個是要貼到下一個步驟的!
openssl req -new -newkey rsa:2048 -nodes -keyout example.key -out example.csr
SSLEngine On SSLCertificateFile conf/ssl/example.cert SSLCertificateKeyFile conf/ssl/example.key SSLCertificateChainFile conf/ssl/ca.crt
// Windows copy /B www_yourdomain_com.crt + COMODORSADomainValidationSecureServerCA.crt + COMODORSAAddTrustCA.crt ssl-bundle.crt // linux cat www_yourdomain_com.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt > ssl-bundle.crt