Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2015 21:59:38 +0100
From:      Michael Gmelin <freebsd@grem.de>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: pkg and https-based repo with self-signed cert
Message-ID:  <01995384-5D03-4C8B-B998-83CCC128FF44@grem.de>
In-Reply-To: <20150205205511.GR44537@home.opsec.eu>
References:  <20150205205253.GQ44537@home.opsec.eu> <20150205205511.GR44537@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help



> On 05 Feb 2015, at 21:55, Kurt Jaeger <lists@opsec.eu> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01995384-5D03-4C8B-B998-83CCC128FF44>