The scenario is as follows:
- Using Firefox (versions 3.x and 4b) with functioning certificates, including a client certificate.
- Accessing a web page with an AJAX call using the XMLHttpRequest() method to a different subdomain.
- A custom web server located in that subdomain accepting requests, responding with an open
Access-Control-Allow-Origin
header, and requesting client verification.
The issue arises when Firefox abruptly terminates the request (as indicated in Firebug). When testing the setup with openssl s_server
, it appears that Firefox fails to send the client certificate:
140727260153512:error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer
did not return a certificate:s3_srvr.c:2965:ACCEPT
Interestingly, the same configuration functions correctly in Chrome, pointing to a potential flaw in Firefox. However, making the AJAX call using a <script>
element injected into the DOM delivers the expected results...
Has anyone else encountered this issue? Is it a known bug? Are there any workarounds available? Could there be something obvious that we're overlooking?