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

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

CORS-Preflight request fails on mTLS-secured connection

  • 1 odpoveď
  • 0 má tento problém
  • 26 zobrazení
  • Posledná odpoveď od a.oellerer

ďalšie možnosti

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?

Všetky odpovede (1)

ďalšie možnosti

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

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.