mTLS with Pages Functions

I have a externally hosted service that I’d like to call over HTTPS from a Cloudflare Pages Function. mTLS seems like the right (only?) way to have a client certificate attached to an outgoing HTTPS fetch() call.

  • I have a custom domain for my pages project.
  • I have created a client certificate for that custom domain and set it up in the dashboard. I’ve also imported this to the target service and tested it works.
  • I cannot figure out how to create an mTLS service binding for my pages functions. As described here - it seems to be fairly straightforward for workers, but not pages functions.

How do you set up and use an mTLS binding for Pages Functions?

(PS. I saw this closed question, but it just mentions a custom domain, which I already have)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.