[problem help] 有没有大佬知道的宝塔SSL怎么自签
Tofloor
poster avatar
酷谷的谷子
deepin
2025-07-15 21:52
Author

有没有大佬知道的宝塔SSL怎么自签,最好贴一个shell脚本,不胜感激

应为云服务器IP没有备案所有用不了80 443端口无法使用免费的证书,只好自己签,但是我不知道怎么弄

#-----------------------------------------------------------------------

假设:

有一个GO后端默认是http 8085,我使用反向代理到https 8088

https://cloud.189.cn/t/uAbUJfAniuqu(访问码:x7iz)

创建证书的脚本sshKEY.sh.zip 证书地址如果是云服务器使用外网IP 如果是本地使用本机IP

教程请配合宝塔面板使用

#视频地址
https://www.bilibili.com/video/BV1uXu4zNEBk/?share_source=copy_web&vd_source=e7c77da1b72fa585ccc1576f65bb15ed

图片简要说明:

001.png

002.png

003.png

Reply Favorite View the author
All Replies
181******81
deepin
2025-07-16 08:51
#1

前提你得有固定IP和能开放被访问的443 和80端口。

Reply View the author
deepin-superuser
deepin
2025-07-16 15:13
#2

免费证书验证方式不只 http 服务呀 域名解析那里加条记录也可以的

Reply View the author
酷谷的谷子
deepin
2025-07-16 15:26
#3
deepin-superuser

免费证书验证方式不只 http 服务呀 域名解析那里加条记录也可以的

本地电脑DDNS-GO弄的没有80和443,我主要是玩个本地搭建的游戏需要https ssl

有一个GO后端默认是http 8085,模拟器手机要求https,我使用反向代理到https 8088 搞不懂

捣鼓了2天已经可以了😂

Reply View the author
deepin-superuser
deepin
2025-07-16 15:55
#4

https://gist.github.com/randomeval/c372fdf6d1a3ee665a78463abf2eda1c

Reply View the author