<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ? ![](https://i.loli.net/2020/04/16/EhSy7HnvCIsLudK.png) ## **概述** 如果還有不了解寶塔面板怎么使用的小伙伴,可以看下前文: - [寶塔面板教程(1)基于云服務器搭建寶塔面板教程最全詳解](http://tencent.yundashi168.com/327.html) - [寶塔面板教程(2)寶塔面板添加WordPress站點詳細圖文教程](http://tencent.yundashi168.com/558.html) - [寶塔面板教程(3)基于寶塔面板成功配置網站SSL安全證書](http://tencent.yundashi168.com/652.html) - [寶塔面板教程(4)WordPress網站的備份與恢復(寶塔面板)](http://tencent.yundashi168.com/503.html) - [寶塔面板教程(5)WordPress網站程序和數據庫定時備份到七牛云存儲圖文教程](http://tencent.yundashi168.com/740.html) # **前提條件** - 你熟悉[寶塔面板](https://www.bt.cn/?invite_code=MV9la3hmaXo=)搭建網站。我這個建站老鳥都在用寶塔面板建站,主要就是圖它的節省時間和精力。大家有不熟悉寶塔面板使用的,可以查看文章:[寶塔面板添加WordPress站點詳細圖文教程](http://tencent.yundashi168.com/558.html) 之后你就完全可以入門了。 - 你擁有一臺[云服務器](https://www.aliyun.com/minisite/goods?userCode=ywqc0ubl&share_source=copy_link)和一個[萬網域名](https://wanwang.aliyun.com/?aly_as=urN-DkV3U&source=5176.11533457&userCode=ywqc0ubl&type=copy)。這個沒什么好說的,網站的成功搭建少不了這兩個東西,算是基礎條件了。如果你不了解建一個網站的基本流程,可以閱讀教程:[個人和企業搭建網站主要流程以及六個基本步驟](http://tencent.yundashi168.com/552.html) # **成功案例** ![](https://i.loli.net/2020/09/01/BdWcFwNALZD2eYj.png) 圖片上的網站是我業余時間臨時搭建的,現在支持https訪問,現在寫文章記錄下。 > _案例站點:_[_https://begin.yundashi168.com_](https://begin.yundashi168.com/) 基于寶塔面板配置網站ssl證書支持https訪問其實很簡單,不需要你懂什么技術知識。接下來你跟著我的步驟,就能成功配置網站ssl。 寶塔面板后臺設置成功如圖所示: ![](https://i.loli.net/2020/09/01/O5kY6ciWHgnNx7J.png) # **SSL配置步驟** ## **寶塔面板設置SSL安全證書** ### **第一步:點擊設置** ![](https://i.loli.net/2020/09/01/qdNJbtyZjnDKv9s.png) ### **第二步:寶塔SSL域名綁定申請** ![](https://i.loli.net/2020/09/01/BJUpr38Qu6vckyl.png) ### **第三步:申請Let's Encrypt免費證書** Let’s Encrypt免費證書,有效期3個月,支持多域名。默認會自動續簽 ![](https://i.loli.net/2020/09/01/SGAfVKENdsQmeHj.png) 申請成功: ![](https://i.loli.net/2020/09/01/vZAX7VuqEcMWOyR.png) 這個時候,你的網站站點就可以支持https安全訪問了。 在寶塔面板申請的ssl證書為Let’s Encrypt免費證書,有效期3個月,默認會自動續簽的。 當然,你也可以不用寶塔面板申請的ssl安全證書,而可以用市面上其它任何一家免費的ssl安全證書。 ---- ### **寶塔面板設置自定義安全證書** 其實寶塔支持自定義證書的,而且很方便開啟,可以直接跳過自簽證書。 參考文章:[寶塔面板開啟HTTPS并自定義證書](https://www.zhangxuhu.com/archives/857.html) 點擊寶塔面板的 “ 面板設置 ” 一欄,然后點擊面板SSL綠色的文字。就會彈出對話框來。 ![](https://i.loli.net/2020/09/01/vwhapjguTO4idKz.png) ![](https://i.loli.net/2020/09/01/7e6KrHZ5i4WDdck.png) ### **寶塔面板自定義安全證書(阿里云)** 比如你可以用阿里云的免費一年[ssl安全證書](https://www.aliyun.com/product/cas?source=5176.11533457&userCode=ywqc0ubl&type=copy),續期也是免費的,一年一續期。 阿里云SSL證書申請入口地址:[https://www.aliyun.com/product/cas?source=5176.11533457](https://www.aliyun.com/product/cas?source=5176.11533457&userCode=ywqc0ubl&type=copy) ![](https://i.loli.net/2020/09/01/FHiDjITouXwNEbP.png) ![](https://i.loli.net/2020/09/01/TzuyePX1NQH7g4L.png) 申請成功之后,點擊下載按鈕。 ![](https://i.loli.net/2020/09/01/SzxJHDIras6FMqX.png) ![](https://i.loli.net/2020/09/01/UiDYwOtqfjnKTrR.png) 看見沒,關鍵的兩個文件“.key”和“.pem”,用記事本編輯器打開,然后復制到寶塔面板后臺ssl自定義編輯框中。 ![](https://i.loli.net/2020/09/01/UXZvPnrJMdVow3s.png) 用記事本編輯器打開安全證書文件 ![](https://i.loli.net/2020/09/01/BQRS9ibrxqN1zUt.png) ![](https://i.loli.net/2020/09/01/7SnEuO9mMcBZLaA.png) ![](https://i.loli.net/2020/09/01/lrOIf8gvqpsJ13m.png) ### **可能出現的問題和解決方法** > _**寶塔面板設置網站https訪問成功之后,瀏覽器依舊提示“不安全”。**_ ![](https://i.loli.net/2020/09/01/GFgmPVzcn3Li5hZ.png) ![](https://i.loli.net/2020/09/01/AV6CXxzuiwQM3Ub.png) **解決方法的關鍵**:找到你網站引用的http格式的所有資源文件,圖片,改為https格式就能解決該問題。 參考文章: [如何寶塔開啟面板SSL以及一些常見問題解決](https://jszbug.com/15600) [安裝了https ssl證書,但瀏覽器顯示并非完全安全(此頁面內容部分不安全)](https://www.cnblogs.com/chenyingying0/p/12874288.html) # **總結** 本文詳細的介紹了如何基于寶塔面板配置網站安全證書和支持https訪問,大家跟著我的步驟,就能正確解決。對了,上面我只是拿了阿里云的免費安全證書配置舉例,你還可以去嘗試申請市面上其它家的免費ssl安全證書。流程都是一樣的簡單。希望本文能幫助到大家。 ![](https://i.loli.net/2020/09/01/86WEMiPwOx1tGQ5.png) ![](https://i.loli.net/2020/09/01/r9RGW2spMxnc4XZ.png) > _原文地址:_[_http://tencent.yundashi168.com/652.html_](http://tencent.yundashi168.com/652.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看