From 9fb85cf04f0ec26de0245796c4a164973f760dde Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Wed, 23 Nov 2011 19:27:35 -0700 Subject: update the example SSL configuration --- examples/config/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index 80aae3d..21bc392 100644 --- a/examples/config/config +++ b/examples/config/config @@ -147,12 +147,12 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname # === 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_ca_file = /etc/ssl/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"' +@cbind !ssl = chain 'toggle ssl_verify' 'reload' # Example SSL error handler: -@on_event LOAD_ERROR js var patt=new RegExp(':The SSL certificate is not trusted.'); if (patt.test('%1')) {alert ('%1');} +@on_event LOAD_ERROR js var patt=new RegExp('SSL handshake failed'); if (patt.test('%3')) {alert ('%3');} # === Key binding configuration ============================================== # --- Internal modmapping and ignoring --------------------------------------- -- cgit v1.2.3