Из apt install поставил certbota - так то он генерит сертификаты и все нормально- но в кроне не могу его заставить работать.
Для проверки запускаем в консоли:/usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew
ОтветSaving debug log to /var/log/letsencrypt/letsencrypt.log
The requested ! plugin does not appear to be installed
Вывод логаSaving debug log to /var/log/letsencrypt/letsencrypt.log
The requested ! plugin does not appear to be installed
:~# tail /var/log/letsencrypt/letsencrypt.log
2020-01-26 02:05:56,260:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-01-26 02:05:56,261:DEBUG:certbot.plugins.selection:Requested authenticator ! and installer None
2020-01-26 02:05:56,583:DEBUG:certbot.plugins.selection:Single candidate plugin: * nginx
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7f577b4095c0>
Prep: True
2020-01-26 02:05:56,585:DEBUG:certbot.plugins.selection:No candidate plugin
2020-01-26 02:05:56,585:DEBUG:certbot.plugins.selection:Selected authenticator None and installer <certbot_nginx.configurator.NginxConfigurator object at 0x7f577b4095c0>
Куда копать дальше?
Могу в принципе в ручную запускать но зачем если есть крон?
PS очень жалею что перенес все проекты на 18 убунту - все работает через жопу...