ssl
阿里云ssl证书升级v2
星期日, 三月 8th, 2026 | computer, linux | 没有评论
今天系统监测https的证书快要过期了,去阿里云手动续期下证书,发现已经升级v2管理了,
以前要一次购买的20次数量,现在不再显示,自己在个人免费的直接购买证书即可;
不过控制台还是显示上限数量是20,这个基本没有变。
不过变麻烦的一点是需要自己添加下txt的解析了,(我的域名也阿里云),
记得以前直接一路点下去它都给添加好,等着成功后下载即可。
其实可以做个自动化的,只是想让自己有点动动的理由。^~^


centos7通配ssl域名使用snap的certbot版本的lets-encrypt记录
星期日, 七月 25th, 2021 | computer, linux | 没有评论
之前直接使用脚本的形式现在已经不支持了,需要使用snap的模式
1.安装snap
sudo yum install epel-release -y sudo yum install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap sudo snap install core sudo snap refresh core |
2.移除历史的版本certbot
sudo yum remove certbot |
3.Install Certbot
sudo snap install --classic certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot |
nginx配置ssl后代理tomcat获取不到https
星期五, 二月 14th, 2020 | JAVA-and-J2EE | 没有评论
1.前置使用nginx做了反向代理
2.服务有tomcat提供,在tomcat里有获取getScheme总是http而不是https,需要解决.
遇见的问题如下:
request.getScheme() //总是 http,而不是实际的http或https request.isSecure() //总是false(因为总是http) request.getRemoteAddr() //总是 nginx 请求的 IP,而不是用户的IP request.getRequestURL() //总是 nginx 请求的URL 而不是用户实际请求的 URL response.sendRedirect( 相对url ) //总是重定向到 http 上 (因为认为当前是 http 请求) |
3.解决办法
Search
相关文章
热门文章
最新文章
文章分类
- AI (4)
- ajax (10)
- algorithm-learn (3)
- amis (2)
- Android (6)
- as (3)
- computer (87)
- Database (30)
- disucz (4)
- enterprise (1)
- erlang (2)
- flash (5)
- golang (3)
- html5 (18)
- ios (4)
- JAVA-and-J2EE (186)
- linux (145)
- mac (10)
- movie-music (11)
- pagemaker (36)
- php (50)
- spring-boot (2)
- Synology群晖 (2)
- Uncategorized (6)
- unity (1)
- webgame (15)
- wordpress (33)
- work-other (2)
- 低代码 (1)
- 体味生活 (41)
- 前端 (21)
- 大数据 (8)
- 游戏开发 (9)
- 爱上海 (19)
- 读书 (4)
- 软件 (3)
