Hi!

> >> How do I get pkg to accept a self-signed cert if the repo is running
> >> under https ?

> > man 3 fetch says
> > 
> > export SSL_NO_VERIFY_PEER=1

To be more exact:

cd /usr/local/etc/
cp pkg.conf.sample pkg.conf
vi pkg.conf
-------------
PKG_ENV : {
        SSL_NO_VERIFY_PEER: 1
}
-------------

will do this without the explicit environment variable.

> That will accept *any* cert, not certain if that's what you want
> (depends on your use case).

Well, it's not perfect, but it's good enough for now.

> You can set environment variables in pkg.conf (PKG_ENV if I
> remember correctly)

Yes, that helped. I had to copy the syntax from the pkg.conf.sample
with the ALIASes.

-- 
p...@opsec.eu            +49 171 3101372                         5 years to go !
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to