How to debug acme.sh
思韵闪耀
2024-04-28
0

Use 

--debug

 parameter to output detailed debug info.


For example:

acme.sh  --issue  .........   --debug

To output more detailed info:

acme.sh  --issue  ..........    --debug 2

Common Root Cause of issue:

Port 80 is blocked

If your ISP blocks port 80, any webroot based authentication will fail You can test this by running this command from OUTSIDE your local network.


curl -IkL -m20 http://[binanceearn.org]


Common Errors using DNS API:

Mistake 1: Clumsy fingers - newline in 
~/.acme.sh/account.conf

If you type in the api key or private key and accidentally put in a newline or a typo, check and ensure the keys look right in 

~/.acme.sh/account.conf


I still see my old keys (when moving from letsencrypt bot to .acme.sh)

Needed step - point nginx configuration to new acme based keys If you still see the old keys being used, even after finally getting the dns based authentication to work. You may need to comment out the previous keys from the letsencrypt bot, and point to the new folder:


# RSA certificate


#ssl_certificate /etc/letsencrypt/live/[binanceearn.org]/fullchain.pem; # managed by Certbot
#ssl_certificate_key /etc/letsencrypt/live/[binanceearn.org]/privkey.pem; # managed by Certbot
ssl_certificate [your home directory]/.acme.sh/[binanceearn.org]/fullchain.cer;
ssl_certificate_key [your home directory]/.acme.sh/<binanceearn.org>/[your domain].key;


Do I need to include the webroot 
-w [your webroot]
 for DNS?

No! You'll end up back failing the port 80 access to your webroot folder if that was your issue.


【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

相关内容

热门资讯

SIOCADDRT: Netw... SIOCADDRT: Network is unreachable SIOCADDRT: 网络不可达...
centos7下创建新用户和组 linux下添加,删除,修改,查看用户和用户组 1 .增加一个test组 groupadd test...
linux通过sed 修改文件... 13sy.txt里面内容如下 A; B; C; write by luohao199621; 1.要...
关于cannot remove... 关于cannot remove directory: Directory not empty的解决办...
mount: unknown ... mount: unknown filesystem type LVM2_member解决方案 系统启...
OpenMediaVault安... OpenMediaVault 是一个基于Debian的专用 Linux 发行版,用于构建网络连接存储...
centos7 双网卡双网关的... 最近公司需要在一台服务器上同时使用内网和外网,并且都需要跨网段访问,因此需要双网关,但是一台机子上只...
ethtool 命令详解 1 概述 ethtool 是用于查询及设置网卡参数的命令。 2 命令详解 2.1 命令格式 (1) ...
CentOS7单网卡设置双IP... linux系统CentOS7单网卡设置双IP的方法,centos7.5、7.6、7.7设置双IP教程...
Linux进程状态D,S,Z的... Linux进程状态top,ps中看到进程状态D,S,Z的含义 在top和ps命令中有一列显示进程状态...