pkg and https-based repo with self-signed cert
freebsd at grem.de
Thu Feb 5 20:57:39 UTC 2015
> On 05 Feb 2015, at 21:55, Kurt Jaeger <lists at opsec.eu> wrote:
>> How do I get pkg to accept a self-signed cert if the repo is running
>> under https ?
>> Thanks for any hints!
> man 3 fetch says
> export SSL_NO_VERIFY_PEER=1
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 correctly)
> should work. Tested, yes, it works.
> pi at opsec.eu +49 171 3101372 5 years to go !
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports