Pages

Sunday, October 21, 2012

Importing CAcert Client Certificate into Chrome

Client Certificate import from CAcert does not work in current Chrome Dev. After generating the certificate, click "Import Certificate" will result in a message stating "Server sent an invalid certificate."
The way I made it work in Chrome is by using Firefox. The process works fine in Firefox. Firefox has its own certificate store so, after importing the certificate, go to Firefox Settings and export the certificate, including the private key. Then, in Chrome Settings, go to Manage Certificates and click Import button. Select the previously exported certificate and you're good to go.
Then go to https://secure.cacert.org/index.php?id=4 to test logging in with the certificate.

As certificates build upon public-key infrastructure (PKI), I assume this should become the standard way for authentication. The important push ahead comes from CAcert (cacert.org), the organization that offers free certificates.

No comments: