Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 339

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 392

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 394
acme 申请证书时各种问题解决记录,不定时更新 - Joyber 的博客

出现报错首先更新acme程序,命令:

acme.sh --upgrade

如果更新到最新还是申请不了,查看以下解决方法:

出现 Sleeping for 10 seconds and retrying 循环提示:
删除.acme.sh/ca 目录

出现手动DNS申请证书,无法验证域名有效性
检查是否以前在这个服务器申请过证书,并且使用了指定的--server服务器,这次如果未指明--server就会原用上次保存过的,如果这个服务地址现在无法使用了,可能导致验证不成功问题
解决方法是删除.acme.sh/目录下 相关的域名证书申请目录,以及相关的服务器地址配置(不确定,如果有的话),再重新DNS下单申请试试

申请多域名证书报错:
如果使用 -d www.xx.com,www.xx.cn 的命令,--renew 时出现:

 'www.xx.com,www.xx.cn' is not an issued domain, skipping

解决方法是把域名拆开:

acme.sh --renew -d www.xx.com -d www.xx.cn  [...]

标签: none

添加新评论