Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Preflight Request with "ssl_verify_client on;"

$
0
0
What is the right way to allow OPTIONS requests through with "ssl_verify_client on;"?

the CORS spec specifically prohibits credentials with preflight requests; this isn't a problem with chrome or safari because they chose to just ignore that part, but it makes it impossible to do an authenticated CORS request with firefox unless you set it to optional, which i do not want to do.

So the question is, how do i leave "ssl_verify_client on;" enabled, ONLY allowing requests without a certificate on an OPTIONS request? Also is there a place where I can submit a patch to fix nginx still requiring the certificate on an OPTIONS request? seems like something that should already be set to allow it to comply with the specs

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>