diff options
author | Paweł Zuzelski <pawelz@pld-linux.org> | 2010-06-21 17:40:28 +0200 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-11-23 19:08:50 -0700 |
commit | e1d2e58570d620f25425e8f1c01131a426d9818e (patch) | |
tree | 7941f1af4ef365b85e442a7dffb5fcde35f667ee /examples | |
parent | fd7cbacdf11d3c54f0e1ce72b43bdd2b9b2387f9 (diff) |
ssl certs verification
Introduced config variables:
(string) ssl_ca_file
(int) ssl_verify
ssl_ca_file is openssl-style CAfile containing trusted root certificates.
ssl_verify value controls whether to verify remote certs. If it is set to
non-zero, uzbl won't connect to remote https site unless it validates cert.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/config | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config index 389e7c6..fe1e236 100644 --- a/examples/config/config +++ b/examples/config/config @@ -144,6 +144,14 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname # Drop google analytics tracking cookies (applied after whitelists if any) #request BLACKLIST_COOKIE name '^__utm.$' +# === SSL related configuration ============================================== + +# Set it to certificates store of your distribution, or your own CAfile. +# set ssl_ca_file = /etc/certs/ca-certificates.crt +# set ssl_verify = 1 +# Command to toggle ssl_verify value: +@cbind !ssl = sh 'echo "set ssl_verify=$((!\@ssl_verify))" > "$4"; echo "set uri = \\\\\\\@uri" > "$4"' + # === Key binding configuration ============================================== # --- Internal modmapping and ignoring --------------------------------------- |