登陆

linux+apache下https站同一站点a域名换成b域名,去申请ssl功能报错:

linux+apache下https站同一站点a域名换成b域名,开始忘记直接修改域名了,是新增的域名。新增域名发现新域名自动301到老域名,就把老域名删除了。结果悲催了。连老域名的ssl也失效了。去申请ssl功能报错:

centos_ssl Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Obtaining a new certificate Performing the following challenges: http-01 challenge for www.guoget**** Using the webroot path /www/admin/fruitbk****_80/wwwroot for all unmatched domains. Waiting for verification... Challenge failed for domain www.guoget**** http-01 challenge for www.guoget**** Cleaning up challenges Some challenges have failed. /usr/local/phpstudy/system/module/certbot-auto has insecure permissions! To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/ IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.guoget**** Type: unauthorized Detail: Invalid response from http://www.guoget****/.well-known/acme-challenge/qjk36aXk7YA8El8sn2Da7K3o02rD5e_NwLB36zFlFcA [39.108.49.45]: 404 To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.

请大神指点。

熊猫熊猫2020-10-25 21:46:58812 次浏览

全部回复(9)我要回复

  • 肥西上派_蔡徐坤

    肥西上派_蔡徐坤2020-10-26 16:55:03

    伪静态限制了证书申请服务,暂时先去掉伪静态

    回复
    0
  • Peter·Python

    Peter·Python2020-10-26 13:38:58

    新域名的dns记录写了吗

    回复
    0
  • 熊猫

    请问下你说的是新域名是否解析到服务器ip吗?已经解析好了的。****都能打开的了。

    熊猫 · 2020-10-26 14:58:57
    Peter·Python

    知道你的问题所在了,你先删掉站点,重新创建空白站点,申请完证书再放内容

    Peter·Python · 2020-10-26 15:13:11
  • 肥西上派_蔡徐坤

    肥西上派_蔡徐坤2020-10-26 13:14:25

    删掉/usr/local/phpstudy/certs下面的与该域名相关的证书,重新申请

    回复
    0
  • 熊猫

    你好。我删除了这个目录下的所有域名的文件包括把certs整个文件改名也试过了。还是报同样的错误。请问还有别的方案吗?

    熊猫 · 2020-10-26 14:58:17
  • 熊猫

    熊猫2020-10-26 11:15:08

    开启ssl报错截图:1603681697.jpg

    回复
    0
  • phpsutdy-爱好者

    phpsutdy-爱好者2020-10-26 10:47:10

    没太明白你的意思 

    回复
    0
  • 熊猫

    我改变了方法,不换域名了。直接新开个站,把代码移过去。可新开的站去开启ssl,也照样报错。是一样的错误。最近升级了面板到v1.13了,难道是升级的问题?

    熊猫 · 2020-10-26 11:12:58
  • 取消回复发送