From owner-freebsd-hackers@freebsd.org Tue Jul 25 23:19:35 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BC71DAA29A for ; Tue, 25 Jul 2017 23:19:35 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [207.172.210.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 277976B28D for ; Tue, 25 Jul 2017 23:19:34 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:470:1f07:15ff::1f] (haymarket.m5p.com [IPv6:2001:470:1f07:15ff::1f]) (authenticated bits=0) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTPSA id v6PNIBuu013193 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 25 Jul 2017 19:18:17 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: Aaargh! No more STARTTLS! To: freebsd-hackers@freebsd.org References: <46a51587-55e0-a2aa-c84b-2289a682c4ab@m5p.com> From: George Mitchell Message-ID: Date: Tue, 25 Jul 2017 19:18:11 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <46a51587-55e0-a2aa-c84b-2289a682c4ab@m5p.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lsfDSVtVOho3dtl5cd7F7Li0lb2F1wjAg" X-Spam-Status: No, score=0.2 required=10.0 tests=HELO_MISC_IP, RP_MATCHES_RCVD autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mattapan.m5p.com X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mailhost.m5p.com [IPv6:2001:470:1f07:15ff::f7]); Tue, 25 Jul 2017 19:18:18 -0400 (EDT) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 23:19:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lsfDSVtVOho3dtl5cd7F7Li0lb2F1wjAg Content-Type: multipart/mixed; boundary="ONsiSJwhD94SBGCHKBWAFo2vrHTFbWADN"; protected-headers="v1" From: George Mitchell To: freebsd-hackers@freebsd.org Message-ID: Subject: Re: Aaargh! No more STARTTLS! References: <46a51587-55e0-a2aa-c84b-2289a682c4ab@m5p.com> In-Reply-To: <46a51587-55e0-a2aa-c84b-2289a682c4ab@m5p.com> --ONsiSJwhD94SBGCHKBWAFo2vrHTFbWADN Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 07/25/17 17:01, George Mitchell wrote: > FreeBSD 10.3-RELEASE-p20 > Base system sendmail >=20 > Some time between 8:17 AM and 12:06 PM on the 17th of July, my sendmail= > stopped offering STARTTLS, for no reason I can determine. My last > system rebuild (for 10.3-p20) was on July 12. My LetsEncrypt cert was > last renewed on June 10 and will remain valid until September 8. I > don't know of anything else that happened on July 17. Outgoing STARTTL= S > seems to have continued working. What did I do wrong this time?? > -- George >=20 Actually, I already fixed this once and forgot about it. Renewing a LetsEncrypt certificate results in a group/world readable privkey.pem file. Sendmail understandably barfs. I had a fix in certbot for this but obviously I did it wrong. Anyhowever, after turning off group and world read permission on my privkey.pem file, my server is once again offering STARTTLS! -- George --ONsiSJwhD94SBGCHKBWAFo2vrHTFbWADN-- --lsfDSVtVOho3dtl5cd7F7Li0lb2F1wjAg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAll30bMACgkQwRES3m+p 4fmZ5BAAhTz6Cjw+gnw9HM6k3hbJ6MP2HFEXJxXm4v9Wznw0w4jHQTtaswv9yyLA 4WULjUzBB8XUiHiCCuoGoLvLCr3mS6J13+6Foj/OQog6FGksaj6gEDixDalgp3nS 3HxNFIotst9QjqP1/yL0gc7Bjn3YdjISaDoBbsypbPZowddPuc5gdptMBNupkv0i YrtziSNctp9KzJ+i9796xqYTzQCWRhQgBVSiuDald7VPsuQ7Or09Qjuf+J7rZaXz AvDvo5J0OjOwauHc5Lt4hDjlr1rteCzMkjbGB2FXsP1bAPbkgPIkDXW254DDL6R2 MleeaYbPOVUIkRayND12I3hMrRBQYte6IRMGv5j+XNXALctqmHHCz32Efy1h9ooy u8vpwkcJK00FtrQPhi86K9mrSU5VQL/+tp165f6dd//EDisgzTLJa5ufo9OBcLPA wHttFwGDs26Z8kalOdi0yQmNcTLHvfKAbJ1MLPu51WfHTHtNAiwvmqrdLQ0okzq7 lKtWY3+GFSOgg4RDosEqFm4sM0SsrDq3j4xmuCYRV7jtrB90OMIJ0dcY/RflPCLB h4oZHB10rCLBXKf8A/+aQDcBXcVkxGashcwv7aEParS0y6/g+e+BfUOuyJHrrHoH 89Z3s8+q3iVPJRQagcg2N3a5CWhTjNpbYaqSVH05SLgw22eju2A= =Spih -----END PGP SIGNATURE----- --lsfDSVtVOho3dtl5cd7F7Li0lb2F1wjAg--