Ubuntu系统apache2网站的Let‘s Encrypt证书问题

一、经确认是SSL证书过期了,但是安装以后出现问题:Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove t o the CA that you control your domain. Please add a virtual host for port 80.

这个模式会让 Certbot 自己启动一个临时的、独立的 Web 服务器来占用80端口完成验证。这需要你暂时停止正在运行的主 Web 服务(比如 Nginx 或 Apache),因为80端口同一时间只能被一个程序占用

操作步骤:

bash 复制代码
sudo systemctl stop apache2
sudo certbot certonly --standalone -d www.xxxxx.com
sudo systemctl start apache2

二、自动续期出现问题:Failed to renew certificate www.bioseqdata.com with error: Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.

三、最后一招

相关推荐
Yogurt_cry4 小时前
[树莓派4B] 闲置近10年的爱普生 L310 打印机爆改无线打印机
linux·物联网·树莓派
爱吃橘子橙子柚子1 天前
3CPU性能排查总结(超详细)【Linux性能优化】
运维·cpu
Johny_Zhao1 天前
OpenClaw中级到高级教程
linux·人工智能·信息安全·kubernetes·云计算·yum源·系统运维·openclaw
Sheffield2 天前
Docker的跨主机服务与其对应的优缺点
linux·网络协议·docker
Sheffield2 天前
Alpine是什么,为什么是Docker首选?
linux·docker·容器
舒一笑3 天前
程序员效率神器:一文掌握 tmux(服务器开发必备工具)
运维·后端·程序员
Johny_Zhao3 天前
centos7安装部署openclaw
linux·人工智能·信息安全·云计算·yum源·系统运维·openclaw
haibindev3 天前
在 Windows+WSL2 上部署 OpenClaw AI员工的实践与踩坑
linux·wsl2·openclaw
NineData3 天前
数据库管理工具NineData,一年进化成为数万+开发者的首选数据库工具?
运维·数据结构·数据库