From owner-freebsd-security@freebsd.org Mon Sep 9 10:13:14 2019 Return-Path: Delivered-To: freebsd-security@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 69334F43D9 for ; Mon, 9 Sep 2019 10:13:14 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46RkWX6MJrz3GCR for ; Mon, 9 Sep 2019 10:13:12 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x89ACuRb075694 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 9 Sep 2019 12:12:56 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1568023976; bh=QxHM0dNA26k3hqkUDjKTNRGBgURgzv+OoCR9ZOvqZqU=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=M8DEzbHA3dybcpqTq7zcjgj4ZWB+sKZaIfYk/A8AdFQgZTYQ7O4uTAucxzIIWfYUz ZKRc6HG52rU1xDjHjApLHBrQ8+1y6WdMOjk1AFZllg31RlsreM3kKbeWS/H0L8cq8S kyQiF+NAQLmCW9ueW8ICs5edYmZOl5Vgq2I75srN/VWwYhlISMG6iGUwWmqUrNHoqo afNMsGvYgZ/hTOT/0ALjVhTII23ebyNXmO353UqohhdXJfbCk8DcRtj9T5oeE5N34E M48A9NSAFE4T1kJj/yrsRKF5p2X2gbhY0LjUnd9fhiAg8KiClBVfOdHfHONuPpZNSQ udVWX3C0s3PrA== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x89ACt7W075625; Mon, 9 Sep 2019 12:12:55 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 9 Sep 2019 12:12:55 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: Victor Sudakov cc: freebsd-security@freebsd.org Subject: Re: Let's Encrypt In-Reply-To: <20190909090605.GA97856@admin.sibptus.ru> Message-ID: References: <20190908145835.GA67269@admin.sibptus.ru> <20190909090605.GA97856@admin.sibptus.ru> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 46RkWX6MJrz3GCR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=M8DEzbHA; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.67)[ip: (-7.23), ipnet: 2001:700::/32(-0.66), asn: 224(-0.46), country: NO(-0.01)] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2019 10:13:14 -0000 On Mon, 9 Sep 2019 16:06+0700, Victor Sudakov wrote: > The majority is for py-certbot, so I'll probably use it. Thank you. I have found it prudent to run certbot twice a month from cron(8), just to be safe. Last year, I had one case where the certificate expired a few hours before the next run of certbot. Had I run certbot on the 1st and on the 15th day of each month, then the certificates would have been updated ahead of their expiration. E.g.: #minute hour mday month wday who command 52 4 1 * * root certbot renew --quiet --pre-hook "service apache24 stop" --post-hook "service apache24 start" 52 1 15 * * root certbot renew --quiet --pre-hook "service apache24 stop" --post-hook "service apache24 start" -- Trond.