From owner-freebsd-ports-bugs@freebsd.org Thu Mar 19 20:53:14 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E9362709DE for ; Thu, 19 Mar 2020 20:53:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48jzdQ1Kqsz4HTB for ; Thu, 19 Mar 2020 20:53:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A8B7D2709DD; Thu, 19 Mar 2020 20:53:13 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4AB82709DC for ; Thu, 19 Mar 2020 20:53:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jzdM2vXcz4HQP for ; Thu, 19 Mar 2020 20:53:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 577CA18D4F for ; Thu, 19 Mar 2020 20:53:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 02JKr9pR085571 for ; Thu, 19 Mar 2020 20:53:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02JKr9H8085570 for ports-bugs@FreeBSD.org; Thu, 19 Mar 2020 20:53:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244922] security/lego: Setup instructions/scripts doesn't match Date: Thu, 19 Mar 2020 20:53:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2020 20:53:14 -0000 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.=