From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] Whither /sys/lib/ssl? In-Reply-To: <200302160458.h1G4wlM08923@augusta.math.psu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-qpveenioroutulisvxzbxuttom" Date: Sun, 16 Feb 2003 08:20:32 -0500 Topicbox-Message-UUID: 62901bf0-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-qpveenioroutulisvxzbxuttom Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I'm going to rationalize those things. The naming is crazy. I'm going to rename them to something like /sys/lib/x509/cert and /sys/lib/x509/thumb. I think you had it in the right place given the way ehg was using it here but even he admits the naming is meaningless. --upas-qpveenioroutulisvxzbxuttom Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sat Feb 15 23:59:25 EST 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sat Feb 15 23:59:23 EST 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.8.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 15586199DD; Sat, 15 Feb 2003 23:59:11 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from math.psu.edu (leibniz.math.psu.edu [146.186.130.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id EA1B2199BF for <9fans@cse.psu.edu>; Sat, 15 Feb 2003 23:58:47 -0500 (EST) Received: from augusta.math.psu.edu (augusta.math.psu.edu [146.186.132.2]) by math.psu.edu (8.9.3/8.9.3) with ESMTP id XAA09075 for <9fans@cse.psu.edu>; Sat, 15 Feb 2003 23:58:47 -0500 (EST) Received: from augusta.math.psu.edu (localhost [127.0.0.1]) by augusta.math.psu.edu (8.11.6+Sun/8.9.3) with ESMTP id h1G4wlM08923 for <9fans@cse.psu.edu>; Sat, 15 Feb 2003 23:58:47 -0500 (EST) Message-Id: <200302160458.h1G4wlM08923@augusta.math.psu.edu> To: 9fans@cse.psu.edu From: Dan Cross Subject: [9fans] Whither /sys/lib/ssl? Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Sat, 15 Feb 2003 23:58:47 -0500 The starttls support in smtpd had a small bug in it; instead of looking for the SMTP certificate in /sys/lib/tls, it was looking in the (seemingly older) /sys/lib/ssl. This is probably my fault, since I wrote that support originally; I can't remember what directory I had certificates in at the time. Anyway, a patch to change 3 bytes follows (diff -e format). term% diff -e smtpd.c /sys/src/cmd/upas/smtp/smtpd.c 949c cert = readcert("/sys/lib/tls/smtpd-cert.pem", &certlen); . term% Thanks. - Dan C. --upas-qpveenioroutulisvxzbxuttom--