How use Cloudflare Authenticated Origin Pulls on .NET Core HTTP.sys

457 Views Asked by At

I have to enable Authenticated Origin Pulls on my http.sys .NET Core application but i'm very confused.

So far the steps I have performed have been:

  1. Install origin-pull-ca.pem on Trusted root
  2. netsh http add sslcert hostnameport=xxxxxxxxxxx.com:443 appid= '{APPLICATION-IDENTIFIER}' certhash=THUMBPRINT-CERTIFICATE certstorename=MY clientcertnegotiation=enable (where THUMBPRINT-CERTIFICATE is the "Origin Certificate" of Cloudflare, not the origin-pull-ca.pem)

But.. now?

This is the NGINX configuration to make it work

ssl_client_certificate /etc/nginx/certs/cloudflare.crt;
ssl_verify_client on;

What is the corrisponding to be applied it to web server HTTP.sys on ASP.NET Core?

0

There are 0 best solutions below