Since Chrome 10.x it's possible to manage vertificates within the config tab! No need for below instructions anymore.
sudo apt-get install libnss3-tools
Official documentation: http://code.google.com/p/chromium/wiki/LinuxCertManagement
Cite from the documentation regarding self-signed certificates:
Note: to trust a self-signed server certificate, we should use certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n <certificate nickname> -i <certificate filename> Unfortunately that doesn't work because of NSS bug 531160. To work around the NSS bug, you have to trust it as a CA using the "C,," trust flags.
Perform the import using
certutil. As mentioned in the documentation (NSS bug 531160) the trust as private (P,,) doesn't work, so use (C,,)
$ certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n 'dominik-geyer.de' -i dominik-geyer.de.cert
$ certutil -d sql:$HOME/.pki/nssdb -L