]> sipb.mit.edu Git - wiki.git/blobdiff - enabling_client_certificate_auth_in_chrome.html
(no commit message)
[wiki.git] / enabling_client_certificate_auth_in_chrome.html
index 34b92430f5b7a9fce70da3a651aafc307f27bec6..697348fd140994c368a43b0a174b45db3f1ef2fa 100644 (file)
@@ -1,13 +1,11 @@
 <p>So, you want to run Chrome (or Chromium), but you're annoyed by the lack of
 client certificate authentication on Linux.  Turns out, this is relatively easy
-to solve, there's just no UI for it as of yet.  (As of 11/13/2009.)  (Note: I'm doing this running the daily build from the chromium-daily ppa on Launchpad - you can add deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main to your
+to solve, there's just no UI for it as of yet.  (As of 11/13/2009.)  (Note: I'm doing this running the daily build from the chromium-daily ppa on Launchpad - if you're running Debian or Ubuntu, you can add "deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main" to your
 /etc/apt/sources.list if you want to run this.  It may work on the official
 Google build as well, I'm not sure.)</p>
 
 <p>You want to use the instructions at
-<a href="http://code.google.com/p/chromium/wiki/LinuxCertManagement">Google's page on LinuxCertManagement</a> to install the MIT
-CA (click "Get the MIT CA" <a href="http://ist.mit.edu/services/certificates/mitca">here</a>
-to download it).  You may also want the <a href="http://ca.csail.mit.edu/cacert">CSAIL CA</a> (specifically, the Master CA).  If you're
+<a href="http://code.google.com/p/chromium/wiki/LinuxCertManagement">Google's page on LinuxCertManagement</a> to install the <a href="http://ist.mit.edu/services/certificates/mitca">MIT CA</a>.  You may also want the <a href="http://ca.csail.mit.edu/cacert">CSAIL CA</a> (specifically, the Master CA).  If you're
 running Debian or Ubuntu, the short version of that LinuxCertManagement page is
 to install libnss3-tools, then run "certutil -d sql:$HOME/.pki/nssdb -A -t
 "C,," -n <certificate nickname> -i <certificate filename>" for both the MIT CA
@@ -18,12 +16,6 @@ install it on Firefox; at that point, it should be in the list of certificates
 you get when you run "certutil -d sql:$HOME/.pki/nssdb -L".  If not, go back to
 the LinuxCertManagement page and do it manually.</p>
 
-Here's the last key to the puzzle: by default, Chrome on Linux runs without SSL
-client cert auth.  So run it with the --auto-ssl-client-auth flag.  You'll
-probably want to edit both Preferred Applications and the Main Menu entry to
-reflect this, so links you click on outside of Chrome open this way.  (Gnome Do
-and similar pull their data from Main Menu, among other places.)  Once you've
-done this, you can check your work with
-<a href="https://scripts-cert.mit.edu/~geofft/demo/detect.php">this demo page</a>.  If everything is
-working, it should welcome you by name, and tell you that a certificate for
-your username is installed.
+<p>Here's the last key to the puzzle: Chrome on Linux currently lacks a UI for selecting a certificate, so run it with the --auto-ssl-client-auth flag. Enabling this flag configures Chrome to automatically send an certificate to websites without prompting, as Firefox will do under certain configurations. This is considered a privacy issue; see UI notes #3 in the Chromium <a href="http://dev.chromium.org/developers/design-documents/ssl-client-authentication">design document</a> and the linked <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=295922">Mozilla bug</a>. Bug <a href="http://code.google.com/p/chromium/issues/detail?id=25241">#25241</a> tracks this issue in Chrome on Linux.</p>
+
+<p>You'll probably want to edit both Preferred Applications and the Main Menu entry (I'm assuming you run Gnome here; if not, there may be other things you want to edit) to reflect this, so links you click on outside of Chrome open this way.  (Gnome Do and similar pull their data from Main Menu, among other places.)  Once you've done this, you can check your work with <a href="https://scripts-cert.mit.edu/~geofft/demo/detect.php">this demo page</a>.  If everything is working, it should welcome you by name, and tell you that a certificate for your username is installed.</p>