Worker mTLS

Hi there! So I've setup mTLS on an origin and it's working fine through curl, and I followed the steps here https://developers.cloudflare.com/workers/runtime-apis/mtls as I show in the screenshots, but for some reason it isn't working. Any help would be appreciated!
export interface Env {
PRIV_API: Fetcher;
}

export default {
async fetch(
request: Request,
env: Env,
ctx: ExecutionContext
): Promise<Response> {
return await env.PRIV_API.fetch("https://priv-api.gpt-ish.com")
},
};
export interface Env {
PRIV_API: Fetcher;
}

export default {
async fetch(
request: Request,
env: Env,
ctx: ExecutionContext
): Promise<Response> {
return await env.PRIV_API.fetch("https://priv-api.gpt-ish.com")
},
};
mTLS · Cloudflare Workers docs
When using HTTPS, a server presents a certificate for the client to authenticate in order to prove their identity. For even tighter security, some …
2 Replies
kian
kian15mo ago
mTLS in Workers doesn't work for Cloudflare origins right now
Ben H
Ben H15mo ago
😐 There should probably be a note somewhere that says this. I spent several hours trying to figure this out.