当前位置:论坛首页 > Linux面板 > 求助

【已解答】HTML项目启用证书失败,无法部署。

发表在 Linux面板昨天 23:28 [复制链接] 1 17

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:9.0.0
系统版本:Ubuntu 24.04 LTS (Noble Numbat) x86_64(Py3.7.16)
问题描述:HTML项目申请SSL证书(DNS)方式,获取证书成功后仍旧无法启用,点击”保存并启用证书“没有用,仍然是未部署状态,证书实际上也未起效。

相关截图(日志、错误): 微信截图_20250521232404.png 微信截图_20250521232355.png 微信截图_20250521232322.png

配置:
  1. <VirtualHost *:80>
  2.     ServerAdmin admin@woozievert.sc-rp.com
  3.     DocumentRoot "/www/wwwroot/woozievert.sc-rp.com"
  4.     ServerName 80.woozievert.sc-rp.com
  5.     ServerAlias acp.ls-rp.cn
  6.     #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
  7.     #error_page 404/404.html;
  8.     #SSL-END
  9.     ErrorLog "/www/wwwlogs/woozievert.sc-rp.com-error_log"
  10.     CustomLog "/www/wwwlogs/woozievert.sc-rp.com-access_log" combined

  11.     #DENY FILES
  12.      <Files ~ (\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)[        DISCUZ_CODE_2        ]gt;
  13.        Order allow,deny
  14.        Deny from all
  15.     </Files>
  16.    
  17.     <IfModule alias_module>
  18.     Alias /.well-known/ /www/wwwroot/java_node_ssl/
  19.     </IfModule>


  20.     #PATH
  21.     <Directory "/www/wwwroot/woozievert.sc-rp.com">
  22.         SetOutputFilter DEFLATE
  23.         Options FollowSymLinks
  24.         AllowOverride All
  25.         Require all granted
  26.         DirectoryIndex index.html index.htm default.html default.htm
  27.     </Directory>
  28. </VirtualHost>
复制代码



使用道具 举报 只看该作者 回复
发表于 6 小时前 | 显示全部楼层
配置文件有问题,修改成下面的,重试
  1. <VirtualHost *:80>
  2.     ServerAdmin admin@woozievert.sc-rp.com
  3.     DocumentRoot "/www/wwwroot/woozievert.sc-rp.com"
  4.     ServerName 80.woozievert.sc-rp.com
  5.     ServerAlias acp.ls-rp.cn
  6.     ErrorLog "/www/wwwlogs/woozievert.sc-rp.com-error_log"
  7.     CustomLog "/www/wwwlogs/woozievert.sc-rp.com-access_log" combined

  8.     #DENY FILES
  9.      <Files ~ (\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)[        DISCUZ_CODE_2        ]gt;
  10.        Order allow,deny
  11.        Deny from all
  12.     </Files>
  13.    
  14.     #SSL
  15.     <IfModule alias_module>
  16.     Alias /.well-known/ /www/wwwroot/java_node_ssl/
  17.     </IfModule>


  18.     #PATH
  19.     <Directory "/www/wwwroot/woozievert.sc-rp.com">
  20.         SetOutputFilter DEFLATE
  21.         Options FollowSymLinks
  22.         AllowOverride All
  23.         Require all granted
  24.         DirectoryIndex index.html index.htm default.html default.htm
  25.     </Directory>
  26. </VirtualHost>
复制代码


使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表