Skip to content

Instantly share code, notes, and snippets.

@bernd
Created August 26, 2014 14:51
Show Gist options
  • Save bernd/5be3576079bc14ea743d to your computer and use it in GitHub Desktop.
Save bernd/5be3576079bc14ea743d to your computer and use it in GitHub Desktop.
Put into /etc/apt/apt.conf.d to test https repos
Acquire::https::localhost {
Verify-Peer "false";
Verify-Host "false";
CaInfo "/etc/ssl/certs/ca-certificates.crt";
SslCert "/etc/ssl/certs/ssl-cert-snakeoil.pem";
SslKey "/etc/ssl/private/ssl-cert-snakeoil.key";
SslForceVersion "SSLv3";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment