> For the complete documentation index, see [llms.txt](https://3385706034.gitbook.io/note/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3385706034.gitbook.io/note/master.md).

# BT-Panel & WordPress 全站HTTPS配置

#### SSL证书获取

1. Let's Encrypt 免费证书,有效期三月,默认自动续期.
2. 阿里云免费CA证书获取.
3. FreeSSL证书获取.

**使用方法一的直接跳过**

#### 宝塔面板配置

**Let's Encrypt 证书申请**

![](http://image.violetevergarden.top/image/1.png)

**或直接使用其他证书,填入证书文件,以及密钥文件**.

![](http://image.violetevergarden.top/image/2.png)

保存证书后直接打开右上角的**强制开启HTTPS**.

![](http://image.violetevergarden.top/image/3.png)

#### WordPress 配置

进入WordPress的**设置**-**常规**中,将这两个改为https开头.

![](http://image.violetevergarden.top/image/4.png)

#### 检查HTTPS是否开启成功

配置完成后,我们打开网站前台页面,查看是否配置成功,点击地址前边的安全锁标志,显示连接是安全的,就证明WordPress的HTTPS已经配置成功.

![](http://image.violetevergarden.top/image/5.png)
