Thursday, December 8, 2016

APT-GET ignores certificate check

When you want to add a repository that your Debian like does not have, for example I want to install 'sky' from tel.red repository.

For some reason our firewall block some untrusted certificate, to ignore checking certificates from apt-get, add this line to your /etc/apt/apt.conf file

Acquire::https::tel.red::Verify-Peer "false";

Please do this at your own risk, because not checking certificates may lead to install harmful software from that repository