godaddy SSL認證不信任

來源:互聯網
上載者:User

標籤:blog   http   io   使用   檔案   div   2014   on   log   

在使用網上教程的部署godaddy認證,會出現認證不受信任的情況。

各別審核比較嚴格的瀏覽器會阻止或者要求添加例外。情況如下:

利用線上認證測試載入器會提示根憑證的內容為空白。從而導致認證不受信任。

解決辦法如下:

購買完成,下載解壓後,目錄中有兩個檔案,一個是認證,另一個gd_bundle-g2-g1.crt

馬上配置nginx

ssl on;ssl_certificate /ssl_location/yourdomain.com.crt;ssl_certificate_key /ssl_location/yourdomain.com.key;

配好後,使用firefox 出現錯誤。

推測是憑證鏈結斷了。

google之,確實是憑證鏈結斷了,需要把gd_bundle-g2-g1.crt和自己的認證儲存為一個檔案,供遊覽器向上爬憑證鏈結。方法如下:

cat yourdomain.com.crt gd_bundle-g2.crt >> yourdomain.com_combined.crt

重新設定nginx

ssl on;ssl_certificate /ssl_location/yourdomain.com_combined.crt;ssl_certificate_key /ssl_location/yourdomain.com.key;

之後再測試,測試通過。

解決過程中也找到了apache的配置方法,如下,apache支援憑證鏈結bundle檔案

SSLEngine OnSSLCertificateFile /ssl_location/yourdomain.com.crtSSLCertificateKeyFile /ssl_location/yourdomain.com.keySSLCertificateChainFile /ssl_location/gd_bundle.crt

godaddy SSL認證不信任

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.