I have a setup where FreeBSD is running as gateway for my LAN, and in the past months I have gotten Poudriere set up to serve the ~500 packages my workstation and other machines are using on the LAN
I would then like to install pkg from my own repository, but it seems pkg is downloaded from a FreeBSD repository even if I specify my own in /usr/local/etc/pkg/repos/. Is it possible to change this? The main reason I ask, is because I would like to be able to install software on the LAN machines without them having access to the internet.
I have then tried to install the standard, or official, pkg as a way to get the process going, thinking that I can re-install pkg later with my own version. But my repository is served over HTTPS with LetsEncrypt, and pkg can't confirm the certificate before ca_root_nss in installed (and again, the confirmation process requires internet access). Is it possible to tell pkg not to verify a certificate?
I suppose it's possible to install my own certificate into FreeBSD, but telling pkg not to verify seems easier to be honest. The manual for pkg does not seem to mention the possibility.
I would then like to install pkg from my own repository, but it seems pkg is downloaded from a FreeBSD repository even if I specify my own in /usr/local/etc/pkg/repos/. Is it possible to change this? The main reason I ask, is because I would like to be able to install software on the LAN machines without them having access to the internet.
I have then tried to install the standard, or official, pkg as a way to get the process going, thinking that I can re-install pkg later with my own version. But my repository is served over HTTPS with LetsEncrypt, and pkg can't confirm the certificate before ca_root_nss in installed (and again, the confirmation process requires internet access). Is it possible to tell pkg not to verify a certificate?
I suppose it's possible to install my own certificate into FreeBSD, but telling pkg not to verify seems easier to be honest. The manual for pkg does not seem to mention the possibility.