There was an error updating certificate: Decoding error: Syntax error

@fastdrw I could reproduce the issue you raised on FreePBX 17 Debian 12 with PHP 8.2. I fixed it by taking a look at the following (unmerged) pull request on the lescript repo: and manually adding those changes in /var/www/html/admin/modules/certman/vendor/analogic/lescript/Lescript.php.

This should fix your issue, however my original issue where the lechecker.php script on mirror.freepbx.org is broken is still an issue.