From owner-freebsd-security@FreeBSD.ORG Fri Apr 1 22:50:37 2011 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B85D4106566B for ; Fri, 1 Apr 2011 22:50:37 +0000 (UTC) (envelope-from reichert@numachi.com) Received: from meisai.numachi.com (meisai.numachi.com [198.175.254.6]) by mx1.freebsd.org (Postfix) with SMTP id 0A68E8FC08 for ; Fri, 1 Apr 2011 22:50:36 +0000 (UTC) Received: (qmail 52083 invoked by uid 1001); 1 Apr 2011 22:50:33 -0000 Date: Fri, 1 Apr 2011 18:50:33 -0400 From: Brian Reichert To: Roberto Nunnari Message-ID: <20110401225033.GL86409@numachi.com> References: <20110401153300.GA85392@guilt.hydra> <4D9639B0.1070302@FreeBSD.org> <4D963C23.4080100@FreeBSD.org> <20110401212648.GK86409@numachi.com> <4D9654BC.6040808@supsi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D9654BC.6040808@supsi.ch> User-Agent: Mutt/1.5.9i Cc: Istv??n , Doug Barton , freebsd-security Subject: Re: SSL is broken on FreeBSD X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 22:50:37 -0000 On Sat, Apr 02, 2011 at 12:42:04AM +0200, Roberto Nunnari wrote: > Istv??n wrote: > >work: > > > > without the following error => "verify error:num=20:unable to get local > >issuer certificate" > > Hi. > It works for me if you correct the sed command and suppress sdterr.. Well, I cleaned that up, too. That you got this same command to work implies you have a different set of CAs than I. His point (someone please correct me, if neccessary) is that without what he considers a reasonable set of trusted CAs in place, SSL under FreeBSD is 'broken'. I interpret this thread now to be a debate of terms 'reasonable' and 'trusted', and further, who's responsibility is it to populate that list of CAs on his machine. > $ uname -rms > FreeBSD 6.4-RELEASE-p8 i386 > $ openssl s_client -connect 72.21.203.148:443 2>/dev/null < /dev/null | > sed -ne /-BEGIN\ CERTIFICATE-/,/-END\ CERTIFICATE-/p |openssl x509 > -noout -subject -dates > subject= /C=US/ST=Washington/L=Seattle/O=Amazon.com Inc./CN=s3.amazonaws.com > notBefore=Oct 8 00:00:00 2010 GMT > notAfter=Oct 7 23:59:59 2013 GMT > > So, it seems to be just a RexExp error.. > > Best regards. > Robi -- Brian Reichert BSD admin/developer at large