当前位置:网站首页>LiteSpeed Web服务器中安装SSL证书
LiteSpeed Web服务器中安装SSL证书
2022-07-28 10:48:00 【51CTO】
在控制面板环境中,LSWS将读取Apache配置。只要您在Apache配置中正确设置了SSL证书,LSWS就应该以相同的方式工作。
在LSWS(本机)或使用OpenLiteSpeed时,您需要在LSWSWebAdmin配置中设置SSL证书设置。假设您已经获得SSL证书 [1](WoTrus),此wiki解释了如何执行此操作。
创建一个443列表器
创建一个将Secure设置为的侦听器Yes。SSL的官方端口是443,但也可以使用其他端口。

打开WoTrus选择nginx文件夹证书

选择.pem(crt)、key(根据一下图片上传)

最后就可以确定是否可以访问
在线 SSL 检查器
您还可以使用在线 SSL 检查器(例如Qualys SSL Server Test)来验证 SSL 证书的设置。
OpenSSL 命令行
或者,您可以使用 Linux 命令行工具:
openssl s_client -connect http://example.com:443-servername http://example.com
如果证书有效,Verify return code: 0 (ok)则可以在命令输出中观察到一行。要检查证书的到期日期,请运行以下命令:
# 回声 | openssl s_client -connect http://example.com:443-servername http://example.com 2>/dev/null | openssl x509 -noout -dates
notBefore=格林威治标准时间 2017 年 2 月 14 日 00:00:00
notAfter=格林威治标准时间 2018 年 2 月 14 日 23:59:59
参考
- ^SSL证书产品介绍 https://www.wosign.com/Products/ssl.htm
边栏推荐
猜你喜欢

Blue Bridge Cup embedded Hal library LCD

GIS数据漫谈(五)— 地理坐标系统

The 10th Landbridge cup embedded electronic provincial competition

用 ZEGO Avatar 做一个虚拟人|虚拟主播直播解决方案
![[MySQL from introduction to proficiency] [advanced chapter] (x) MyISAM's indexing scheme & advantages and disadvantages of indexing](/img/f4/e04bf0f8f0866ea9db0615f0e5e1c4.png)
[MySQL from introduction to proficiency] [advanced chapter] (x) MyISAM's indexing scheme & advantages and disadvantages of indexing

大三下学期总结

什么是WordPress

1天涨粉81W,打造爆款短视频的秘诀是什么?

web安全入门-Radius协议应用

float浮动初步理解
随机推荐
Problems needing attention when VC links static libraries
JS - 修改数组中对象的键名
Combination of const and pointer
2021-03-24
Two dimensional prefix and
CGAL compilation error
Jianzhi offer 09. realize queue with two stacks
nodejs:mongodb 插入成功之后的返回值
分体式测斜探头安装要点及注意事项
这里有一份超实用Excel快捷键合集(常用+八大类汇总)
cortex-M4与cortex-A7内核启动流程分析
ctf技能树----文件上传
Zero code | easily realize data warehouse modeling and build Bi Kanban
Leetcode:1300. the sum of the array closest to the target value after transforming the array [dichotomy]
JWT login authentication + token automatic renewal scheme, well written!
Usage of memory operation functions memcpy() and memmove()
图片滑动特效
Eslint, Eslint中文文档
go status.go 状态码定义
Cortex-M内核管理全局中断的三种方式