1

I have a client certificate for Satrtcom. I'm trying to authenticate to their service, but I'm receiving a "Secure Connection Failed" error with error code ssl_error_handshake_failure_alert:

enter image description here

The Startcom certificate and private key are present in Keychain:

enter image description here

The certificate sumps correctly using Peter Gutmann's dumpasn1:

enter image description here

And it dumps correctly using OpenSSL's x509 utility:

enter image description here

The Keychain allows access to the certificate by Firefox (I just added it).

enter image description here

However, the issue persists. Tracing with Wireshark, I can see the client's Certificate message, but I don't see my client certificate in it (notice Certificate Lengths is 0):

enter image description here

Does anyone know what knobs to turn to have Firefox send the certificate rather than an empty Certificate message?

UPDATE: from https://stackoverflow.com/questions/1331722/client-certificates-and-firefox, the certificate is not listed under "My Certificates". This is expected since I want Firefox to use the certificate and private key in the Keychain.

So the question becomes, how do I instruct Firefox to use the certificate and private key in the Keychain?

UPDATE: This looks like a Firefox on Mac OS X bug (there was another similar bug in Firefox's bug reporter). See Cannot use Client Certificate stored in Mac OS X Keychain (or cannot figure out how to do it).

Any workarounds for this issue are welcomed.

jww
  • 12,722

1 Answers1

1

Firefox does not store passwords, certificates or credentials in KeyChain, it uses its internal storage database instead (within Firefox profile data).

Go to Preferences > View Certificates... > Import... to import your certificate into Firefox.

This is not exclusive for Mac OS, quoting: https://wiki.mozilla.org/CA:AddRootToFirefox

There are lots of organizations that use their own certificate authorities (CAs) to issue certificates for their internal servers. Since Firefox does not use the operating system's certificate store by default, these have to be manually added into Firefox.

Capilé
  • 111