xuey

1、点击进入官网  数安时代 

2、点击选择你需要的ssl 证书

 

3、点击进入选择 免费申请 ,填写你需要 安装 ssl 证书 的域名

 

4、根据你的需求选择,我这里选择的是 数安时代 ,接下来按照步骤操作即可

5、将域名证书 .crt 文件 与 域名私钥.key  上传服务器

 

6、修改域名配置文件 ,重启服务器   nginx -s reload ; 官网证书安装指南

 

7、 服务器防火墙开放 443 端口

查看防火墙 :iptables -L -n 

如果没有开放443 端口

[root@singledb ~]# iptables -D INPUT -p tcp --dport 443 -j ACCEPT
[root@singledb ~]# iptables -D OUTPUT -p tcp --dport 443 -j ACCEPT
[root@singledb ~]# iptables -L -n
[root@fullstack ~]# /etc/rc.d/init.d/iptables save  #保存防火墙设置
[root@fullstack ~]# service iptables restart #重启一下防火墙

8、开放服务器商的安全组规则 443 端口

分类:

技术点:

相关文章:

  • 2021-12-20
  • 2021-12-15
  • 2021-10-28
  • 2021-09-26
  • 2021-11-09
  • 2021-10-19
  • 2021-10-19
猜你喜欢
  • 2021-10-19
  • 2021-09-27
  • 2021-10-19
  • 2022-01-02
  • 2021-06-27
  • 2021-10-29
  • 2021-10-19
相关资源
相似解决方案