2019年2月25日 星期一

[Web Service] Apache 的 https 憑證設定

免費ssl憑證申請:
https://www.sslforfree.com/

按照網站說明成功取得憑證:
ca_bundle.crt ,
certificate.crt ,
private.key ,
上述三個檔案,
在ubuntu的apache ssl conf檔案加上:

SSLCertificateFile      certificate.crt的路徑
SSLCertificateKeyFile    private.key的路徑
SSLCertificateChainFile    ca_bundle.crt的路徑

重新啟動apache即可。

參考網址:
https://n.sfs.tw/content/index/10939



沒有留言:

張貼留言