summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-12-19 13:11:26 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-12-19 13:11:26 +0100
commit714ee06cb1f8892f283bcdcfbb7ebbba8d642193 (patch)
tree65d6668fa27eb298e30b3004e066beb36dcc9929 /doc/examples
parentd546f98d46c6a1d813976825f615e39f17b7ebf5 (diff)
* methods/https.cc:
- implemented various cert verification options
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 73e20aa43..dad8b691c 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -120,6 +120,18 @@ Acquire
Dl-Limit "7"; // 7Kb/sec maximum download rate
};
+ // HTTPS method configuration:
+ // - uses the http proxy config
+ // - uses the http cache-control values
+ // - uses the http Dl-Limit values
+ https
+ {
+ Verify-Peer "false";
+ SslCert "/etc/apt/some.pem";
+ CaPath "/etc/ssl/certs";
+ Verify-Host" "2";
+ };
+
ftp
{
Proxy "ftp://127.0.0.1/";
@@ -261,6 +273,7 @@ Debug
NoLocking "false";
Acquire::Ftp "false"; // Show ftp command traffic
Acquire::Http "false"; // Show http command traffic
+ Acquire::Https "false"; // Show https debug
Acquire::gpgv "false"; // Show the gpgv traffic
aptcdrom "false"; // Show found package files
IdentCdrom "false";