Chromium Under Linux

Just run the following script like so, as your normal user

./chromiumtrustcert falsecolour.com
#!/usr/bin/bash
# chromiumtrustcert
# trusts a self-signed certificate
SITE=$1

# get the certificate
echo QUIT | openssl s_client -connect $SITE:443 | sed -ne '/BEGIN CERT/,/END CERT/p' > /tmp/$SITE.crt
# add it to the db
certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n $SITE -i /tmp/$SITE.crt

The script will trust a self-signed certificate for any site you type. Tested on with Chromium Version 35.0.1916.114 (270117) on Linux 3.14.4-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux and Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux.

Download