usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.48k stars 576 forks source link

[BUG] acme.sh with pdns_mysql requires all txt records to be in quotes #1258

Open cagivacode opened 1 month ago

cagivacode commented 1 month ago

I have had acme.sh ssl issues for sometime now...my domians have been in Cyberpanel for years. This may be related to issue #1063 for pdns validtion.

The ssl certs would not renew and the acme.sh added validation TXT file would not get deleted.

I have discovered that ACME.SH when using PDNS_MYSQL will fail if a DNS TXT record is not enclosed in quotes (found on the acme.sh github site).

Sure enough my SPF TXT records in cyberpanel were not enclosed in quotes. I do not know how they got that way (previous version of cyberpanel or otherwise).

I have tested and found that any dns TXT records not in quotes will cause acme.sh to fail....

now my automatic certificate renewals are working again.

I just wanted to alert the cyberpanel team to this quirk of acme-pdns.