LetsEncrypt Plugin

  • @UncleSam @Ninos

    '--renew-hook "service nginx reload && service postfix reload && service dovecot reload && service proftpd reload"'


    This cannot work atm due to the way in which parameters are processed. I'll fix.


    Code
    1. ...(map { split /\s+/ } @{$self->{'config'}->{'certbot_cmd_create_options'}})...


    is the problem. Here you end with


    Code
    1. ('--renew-hook', '"service ', 'nginx', 'reload', '&&', 'service', 'postfix', 'reload', '&&', 'service', 'dovecot', 'reload', '&&', 'service', 'proftpd', 'reload"');

    passed to perl system() (list) which is wrong. Note that the shell is not involved here meaning also that && cannot be used. Instead, you must add multiple --renew-hook


    I'll fix the parser this evening.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • After Nuxwin fix I can send you the new perl-file. But I'm sure new version will come soon..

  • @UncleSam


    Issue about command line options is fixed in latest version of the LetsEncrypt plugin. See the config.php file for examples.


    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206