- updated version, it checks pointers and subdomains, then include subdomains in domain's cert.
This thing important for the users, who migrates from another system (cpanel) to directadmin, like me. So may be better is to include autoletsencrypt.sh to cpanel_to_da plugin.
ok, I had adjusted autoletsencrypt.sh, for now it is checking current certs on the server for domain's pointers and check cert date end.
- here is updated version. If developers can take a look, it will be fine. I'm using this updated script on my servers for now.