Let's Encrypt version 0.18.1 problem.

Discussion in 'Installation/Configuration' started by pvanthony, Sep 20, 2017.

  1. pvanthony

    pvanthony Active Member HowtoForge Supporter

    Hi,
    Installed certbot-auto as per documentation at
    https://www.howtoforge.com/tutorial...php-pureftpd-postfix-dovecot-and-ispconfig/2/
    mkdir /opt/certbot
    cd /opt/certbot
    wget https://dl.eff.org/certbot-auto
    chmod a+x ./certbot-auto
    Then ran ./certbot-auto
    The following appeared.
    [root@mail certbot]# ./certbot-auto
    Saving debug log to /var/log/letsencrypt/letsencrypt.log

    How would you like to authenticate and install certificates?
    -------------------------------------------------------------------------------
    1: Apache Web Server plugin - Beta (apache)
    2: Nginx Web Server plugin - Alpha (nginx)
    -------------------------------------------------------------------------------
    Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
    Plugins selected: Authenticator nginx, Installer nginx
    No names were found in your configuration files. Please enter in your domain
    name(s) (comma and/or space separated) (Enter 'c' to cancel): c
    As per documentation entered "c".
    But it did not work. Could not get the certs. In the ispconfig logs was nothing even after setting to debug.
    Ran the following script to find the bins of certbot.
    which letsencrypt certbot /root/.local/share/letsencrypt/bin/letsencrypt
    Then got the following response.
    /usr/bin/which: no letsencrypt in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
    /usr/bin/which: no certbot in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
    /usr/bin/which: no letsencrypt in (/root/.local/share/letsencrypt/bin)
    It seems that the bin is stored in the following place.
    /opt/eff.org/certbot/venv/bin
    Then did the following.
    ln -s /opt/eff.org/certbot/venv/bin /root/.local/share/letsencrypt/bin
    Now it works like a charm!!!
    Hope this helps.
     
    Last edited: Sep 20, 2017
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I would guess the certbot-auto script you download (https://dl.eff.org/certbot-auto) changed it's behavior, but in a quick look at it, it should work if instead of running just `./certbot-auto` you run:
    Code:
    VENV_PATH=/opt/certbot ./certbot-auto
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is that LE changed it's install path and broke downwards compatibility. You can either create the symlink like @pvanthony did (which LE should have done by itself IMHO) or you install ISPConfig git-stable version which includes the new path as search path as well.
     

Share This Page