aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-11-23 19:27:35 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2011-11-23 19:32:56 -0700
commit9fb85cf04f0ec26de0245796c4a164973f760dde (patch)
tree7a14a00d576ff47739e8cd18db91170f30a12a8d /examples/config
parent7e2441e2480ed5ae80ae19489d030a17f5aab6b8 (diff)
update the example SSL configuration
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config6
1 files changed, 3 insertions, 3 deletions
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 ---------------------------------------