Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

CORS-Preflight request fails on mTLS-secured connection

  • 1 件の返信
  • 0 人がこの問題に困っています
  • 34 回表示
  • 最後の返信者: a.oellerer

more options

Hey, I am currently working on an application where I want to upload files to a server using mtls via a webapp. The upload goes to another url and server than the one where the webapp is served from. If I test the file uploading without mTLS, it succeeds, and with mTLS enabled it also works in chromium, but in Firefox I get the following error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <url> (Reason: CORS request did not succeed). Status code: (null)." on the `OPTIONS` request before the `PUT` is done. The client and the server both have a certificate from a custom CA, which I imported into firefox, along with the private key. Does someone know what the issue here might be? I am suspecting that there is some problem with firefox loading the user certificate on the preflight request?

Hey, I am currently working on an application where I want to upload files to a server using mtls via a webapp. The upload goes to another url and server than the one where the webapp is served from. If I test the file uploading without mTLS, it succeeds, and with mTLS enabled it also works in chromium, but in Firefox I get the following error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <url> (Reason: CORS request did not succeed). Status code: (null)." on the `OPTIONS` request before the `PUT` is done. The client and the server both have a certificate from a custom CA, which I imported into firefox, along with the private key. Does someone know what the issue here might be? I am suspecting that there is some problem with firefox loading the user certificate on the preflight request?

すべての返信 (1)

more options

Also posted this to the discourse after deeming it the more appropriate place

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。