惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
H
Help Net Security
V
Visual Studio Blog
J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
MyScale Blog
MyScale Blog
The Cloudflare Blog
Martin Fowler
Martin Fowler
D
Docker
腾讯CDC
F
Fortinet All Blogs
雷峰网
雷峰网
GbyAI
GbyAI
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Blog — PlanetScale
Blog — PlanetScale
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
博客园 - 叶小钗

博客园 - 幸福的菜菜

windows下使用ACME申请SSL证书的办法 ElementPlus Radio 实现双击取消选择的效果 Windows10 LTSC版本 无法访问网络中部分的共享文件夹 SqlSugar : date绑定到XX失败,可以试着换一个类型,或者使用ORM自定义类型实现 VisualStudio Debug模式突然变慢 Visual Stadio 编译提示 The BaseOutputPath/OutputPath property is not set for project ... winform绘图与前端canvas绘图效率对比 node-sass编译不通过, 提示 “checking for Python executable "python2" in the PATH” c# async await的使用方式及为啥要用它 winform 实现对usb热拔插的监听 Laravel The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths Wampserver 配置端口可访问服务 git credential for windows 总是弹出的问题 如何用B表的数据,更新A表的值 PHP 命名空间冲突解决方式 Windows下 Docker 简单部署 Django应用 C#实现后台格式化U盘的功能 Winform 实现断点续传的思路及代码 WAMPServer ServerName has syntax error 的问题(阿里云服务器上)
WampServer部署https 服务的过程
幸福的菜菜 · 2019-04-16 · via 博客园 - 幸福的菜菜

首先需要准备ssl证书

因为采用的是阿里云服务器部署的,看到阿里也有免费的ssl证书。能免费使用一年,打算先试试

不过后续看到,ssl证书分为很多种:DV,OV,EV……

具体证书不同之处详情见链接

https://help.aliyun.com/document_detail/28548.html?spm=a2c4g.11186623.6.556.54d362aa9CjjOF

简单地说,免费的证书只能加密一个域名,而我最想要的是泛域名的证书。

所以后期采用了该方案:

https://blog.csdn.net/lichenzero/article/details/75300792

特别注意 :
1.确保php 引入了 open_ssl 模块,具体为 php.ini中
extension=php_openssl.dll

2.切记 httpd.conf中不能监听 443端口会跟 httpd-ssl.conf 监听的443端口相冲突
3.记得防火墙开启本地443端口允许

需要使用的软件,下载链接:

https://pan.baidu.com/s/1SJP90LKyK7Mzi0VAZzQGOg

提取码:6fus

配置apache

采用上述方案是可以配置成功的

如果配置之后,出现WampServer依然无法正常启动的情况。

需要打开 Windows事件日志,查看具体的错误

 比如上面的原因,就可以具体问题具体分析了

 后续:

  采用HTTPS后,服务器请求变慢了……

  数据接口依然采用HTTP,只是跟微信对接那里使用HTTPS