From owner-freebsd-ports@FreeBSD.ORG Thu Feb 5 20:57:39 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77D4A19C for ; Thu, 5 Feb 2015 20:57:39 +0000 (UTC) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id BE110A70 for ; Thu, 5 Feb 2015 20:57:37 +0000 (UTC) Received: (qmail 26193 invoked by uid 89); 5 Feb 2015 20:57:30 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@88.217.180.225) by mail.grem.de with ESMTPA; 5 Feb 2015 20:57:30 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: pkg and https-based repo with self-signed cert From: Michael Gmelin X-Mailer: iPhone Mail (12B466) In-Reply-To: <20150205205511.GR44537@home.opsec.eu> Date: Thu, 5 Feb 2015 21:59:38 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <01995384-5D03-4C8B-B998-83CCC128FF44@grem.de> References: <20150205205253.GQ44537@home.opsec.eu> <20150205205511.GR44537@home.opsec.eu> To: Kurt Jaeger Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 20:57:39 -0000 > On 05 Feb 2015, at 21:55, Kurt Jaeger wrote: >=20 > Hi! >=20 >> How do I get pkg to accept a self-signed cert if the repo is running >> under https ? >>=20 >> Thanks for any hints! >=20 > man 3 fetch says >=20 > export SSL_NO_VERIFY_PEER=3D1 That will accept *any* cert, not certain if that's what you want (depends on= your use case). You can set environment variables in pkg.conf (PKG_ENV if I remember correct= ly) >=20 > should work. Tested, yes, it works. >=20 > --=20 > pi@opsec.eu +49 171 3101372 5 years to g= o ! > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"