Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2020 20:53:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244922] security/lego: Setup instructions/scripts doesn't match
Message-ID:  <bug-244922-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244922

            Bug ID: 244922
           Summary: security/lego: Setup instructions/scripts doesn't
                    match
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: daniel.engberg.lists@pyret.net
                CC: matt@matthoran.com
             Flags: maintainer-feedback?(matt@matthoran.com)
                CC: matt@matthoran.com

Something seems to have changed between versions:

The certificates are generated using the deploy.sh script

--=3D=3D lego.sh =3D=3D--
BASEDIR=3D"/usr/local/etc/lego"
SSLDIR=3D"/usr/local/etc/ssl/lego"
DOMAINSFILE=3D"${BASEDIR}/domains.txt"

--=3D=3D deploy.sh =3D=3D--
SSLDIR=3D"/usr/local/etc/ssl"

--=3D=3D periodic.conf =3D=3D--
weekly_lego_enable=3D"YES"
weekly_lego_renewscript=3D"/usr/local/etc/lego/lego.sh"
weekly_lego_deployscript=3D"/usr/local/etc/lego/deploy.sh"
weekly_output=3D/var/log/weekly.log

Running periodic weekly show this:

Checking Let's Encrypt certificate status:
Deploying Let's Encrypt certificates:
cp: /usr/local/etc/ssl/certs/domain1.crt: No such file or directory
cp: /usr/local/etc/ssl/private/domain1.key: No such file or directory
cp: /usr/local/etc/ssl/certs/domain2.crt: No such file or directory
cp: /usr/local/etc/ssl/private/domain2.key: No such file or directory

These files are located in /usr/local/etc/ssl/lego/certificates/ without any
sub directories:

-rw-------  1 _lego  _lego  3332 Mar 19 17:56 domain1.crt
-rw-------  1 _lego  _lego  1648 Mar 19 17:56 domain1.issuer.crt
-rw-------  1 _lego  _lego   239 Mar 19 17:56 domain1.json
-rw-------  1 _lego  _lego   288 Mar 19 17:56 domain1.key
-rw-------  1 _lego  _lego  3336 Mar 19 17:56 domain2.crt
-rw-------  1 _lego  _lego  1648 Mar 19 17:56 domain2.issuer.crt
-rw-------  1 _lego  _lego   241 Mar 19 17:56 domain2.json
-rw-------  1 _lego  _lego   288 Mar 19 17:56 domain2.key

Perhaps I'm missing something obvious here?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244922-7788>