I have my pip.conf file as follows:
[global]
trusted-host = <private IP>
extra-index-url = http://<private IP>/pypi
However, whenever I try to install a package (just a test package) from the private pypi repo, I receive an error that instructs me to add --trusted-host <private IP>.  If I do, I can successfully install the package, so I know that pip is reading the pip.conf file.  Why isn't it respecting the trusted-host config?  I've triple checked that the IPs match in the config file.
Several blogs and cursory searches of Google seem to suggest that it should. (https://pseudoscripter.wordpress.com/2016/05/07/pip-the-repository-located-at-some-ip-is-not-a-trusted-or-secure-host-and-is-being-ignored/)