百度CDN 網站SSL 配置

來源:互聯網
上載者:User

標籤:blog   需要   highlight   二進位格式   bsp   命令   arp   p12   style   

百度CDN SSL配置步驟

一般從SSL供應商購買到的認證是CRT二進位格式的。 

1. 將 CRT 匯入到IIS中, 然後從IIS中匯出為PFX格式

2. 下載openssl,執行下面命令

提取使用者認證 (P12或者pfx)

openssl pkcs12 -in test.p12 -clcerts -nokeys -out cert.pem  //pem格式openssl pkcs12 -in test.p12 -clcerts -nokeys -out cert.crt  //crt格式

如果需要攜帶秘鑰,則去掉 -nokeys

openssl pkcs12 -in test.p12 -clcerts  -out cert.pem  //pem格式openssl pkcs12 -in test.p12 -clcerts  -out cert.crt  //crt格式

提取私密金鑰:

openssl pkcs12 -in test.p12 -nocerts -out key.pem

清除秘鑰中的密碼(百度CDN 必須清除密碼)

openssl rsa -in key.pem -out newkey.pem

已經擷取了認證、私密金鑰、憑證鏈結 提交即可。

 

參考文章

認證雲服 https://www.sslyun.com

BCE 管理憑證 https://cloud.baidu.com/doc/Reference/CertificationManagement.html#.E7.AE.A1.E7.90.86.E8.AF.81.E4.B9.A6

PFX提取認證和私密金鑰 http://www.cnblogs.com/jiaoyiping/p/5989046.html

 

百度CDN 網站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.