阿里云免费申请SSL步骤:
步骤1:登录阿里云控制面板--产品与服务里面找到 SSL证书


步骤2:点击购买证书

![1609949894.png 7ZPWGA]QCLE4B](C)O2JWTU.png](/ueditor/php/upload/image/20210107/1609949894.png)
步骤3:选择域名类型(单域名)--选择证书类型(DV SSL)--选择加密等级(免费版)--选择证书品牌(DigiCert)


购买成功后进入SSL证书管理控制台,证书申请--使用文件验证方式


验证通过之后,根据自己环境情况直接下载相应文件

![1609950705.png BCGC$I$9[X9(]N~JMT63M69.png](/ueditor/php/upload/image/20210107/1609950705.png)
我这里用的是宝塔,环境是nginx,所以我下载的是nginx的证书

![1609950847.png ZIA]`TC43N0NKPE%_6X~~DI.png](/ueditor/php/upload/image/20210107/1609950847.png)
登录宝塔控制面板,选择要配置https的网站--点击--设置

![1609951148.png (C[)OV1%CDX8ZI~]J78(C_I.png](/ueditor/php/upload/image/20210107/1609951148.png)
再将下载的SSL证书内容复制到SSL 其他证书 内 打开 强制HTTPS ,最后保存即可


发表评论 取消回复