【已解答】HTML项目启用证书失败,无法部署。
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.0.0系统版本:Ubuntu 24.04 LTS (Noble Numbat) x86_64(Py3.7.16)
问题描述:HTML项目申请SSL证书(DNS)方式,获取证书成功后仍旧无法启用,点击”保存并启用证书“没有用,仍然是未部署状态,证书实际上也未起效。
相关截图(日志、错误):
配置:<VirtualHost *:80>
ServerAdmin admin@woozievert.sc-rp.com
DocumentRoot "/www/wwwroot/woozievert.sc-rp.com"
ServerName 80.woozievert.sc-rp.com
ServerAlias acp.ls-rp.cn
#SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
#error_page 404/404.html;
#SSL-END
ErrorLog "/www/wwwlogs/woozievert.sc-rp.com-error_log"
CustomLog "/www/wwwlogs/woozievert.sc-rp.com-access_log" combined
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)[ DISCUZ_CODE_2 ]gt;
Order allow,deny
Deny from all
</Files>
<IfModule alias_module>
Alias /.well-known/ /www/wwwroot/java_node_ssl/
</IfModule>
#PATH
<Directory "/www/wwwroot/woozievert.sc-rp.com">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.html index.htm default.html default.htm
</Directory>
</VirtualHost>
配置文件有问题,修改成下面的,重试<VirtualHost *:80>
ServerAdmin admin@woozievert.sc-rp.com
DocumentRoot "/www/wwwroot/woozievert.sc-rp.com"
ServerName 80.woozievert.sc-rp.com
ServerAlias acp.ls-rp.cn
ErrorLog "/www/wwwlogs/woozievert.sc-rp.com-error_log"
CustomLog "/www/wwwlogs/woozievert.sc-rp.com-access_log" combined
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)[ DISCUZ_CODE_2 ]gt;
Order allow,deny
Deny from all
</Files>
#SSL
<IfModule alias_module>
Alias /.well-known/ /www/wwwroot/java_node_ssl/
</IfModule>
#PATH
<Directory "/www/wwwroot/woozievert.sc-rp.com">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.html index.htm default.html default.htm
</Directory>
</VirtualHost>
页:
[1]