Letsencrypt and pure-ftpd

Discussion in 'Installation/Configuration' started by vm2014, Jan 20, 2016.

  1. vm2014

    vm2014 New Member

    After switching to letsencrypt certs I could not get pure-ftpd-mysql to start. I would attempt to start with service pure-ftpd-mysql start. No error messages were displayed, but running service pure-ftpd-mysql status showed not running.

    When setting up letsencrypt, I linked the /etc/ssl/private/pure-ftpd.pem file to the /etc/letsencrypt/mydomain.com/fullchain.pem file thinking it had everything pure-ftpd-mysql needed. Unfortunately the fullchain.pem does not include the private key.

    Testing with the old certificate worked. I had to make a new single file that included the fullchain.pem and the privkey.pem files. It appears the pure-ftpd.pem is a hard-coded single file location so I am unable to link to the files separately.

    The Fix:
    cat /etc/letsencrypt/live/mydomain.com/privkey.pem /etc/letsencrypt/live/mydomain.com/fullchain.pem > /etc/ssl/private/pure-ftpd.pem

    I hope this helps someone. Otherwise, Letsencrypt is working great on ISPConfig manually. I am excited to see it fully integrated in a future release.
    Ubuntu 14.04
    ISPConfig 3.0.5
    Last edited: Jan 20, 2016
    NO^DICKHILL and Jesse Norell like this.
  2. Soeldner

    Soeldner New Member

    it helped someone :) Thanks!

    # cat /etc/issue
    Debian GNU/Linux 8 \n \l
    linus likes this.

    NO^DICKHILL New Member

    It also helped this someone... THANKS! :)
    (Ubuntu 14.04.5 LTS & ISPConfig 3.1.1p1)

    After looking at the old "pure-ftpd.pem" i thought that i had to combine either the "cert.pem" or "chain.pem" with the "privatekey.pem".
    But I never thought that I had to use the "fullchain.pem" since it had two certificates in the fil.
    Last edited: Nov 4, 2016

Share This Page