阿里云域名HTTP+SSL证书流程(http到https的一个过程)

1、为什么要使用 https

  1. 更安全
  2. 上线小程序的时候需要配置这个合法域名
    https默认端口是443
    在这里插入图片描述
    在这里插入图片描述

2、购买 SSL 证书

2.1、数字证书管理服务

在这里插入图片描述

2.2、点击创建证书

在这里插入图片描述

2.3、证书申请

在这里插入图片描述

2.4、点击下载

在这里插入图片描述

2.5、证书下载

在这里插入图片描述
在这里插入图片描述

3、nginx证书安装

如何在nginx服务器上安装ssl证书,以及配置443端口的ssl?

3.1、点击帮助

在这里插入图片描述

3.2、nginx -t

[root@iZuf6332h890vozldoxcprZ ~]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

3.3、cd /etc/nginx/

[root@iZuf6332h890vozldoxcprZ ~]# cd /etc/nginx/
[root@iZuf6332h890vozldoxcprZ nginx]# ls
conf.d        fastcgi.conf.default    key      mime.types          nginx.conf   scgi_params.default   win-utf
default.d     fastcgi_params          koi-utf  mime.types.default  nginx.confs  uwsgi_params
fastcgi.conf  fastcgi_params.default  koi-win  nginx1.conf         scgi_params  uwsgi_params.default

3.4、 cd key/

[root@iZuf6332h890vozldoxcprZ nginx]# cd key/
[root@iZuf6332h890vozldoxcprZ key]# ls
8304088_ltk.jcsc.com.cn.key  8304088_ltk.jcsc.com.cn_nginx.zip  8304088_ltk.jcsc.com.cn.pem  bat
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值