© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
•
2y ago
•
1 reply
jam_zaw
I get 'undefined' when i get a certificate from the mtls_certificates
I am trying to call
/fetch a url and pass along a certificate as described here
:
https://developers.cloudflare.com/workers/runtime-apis/bindings/mtls/
I uploaded the certificate to my worker and i already added the following to the wrangler
.toml
mtls
_certificates
=
[
{ binding
=
"MY
_CERT
"
, certificate
_id
=
"0805d62bxxxxxcdfdd5d6c
"
}
]
however the
return await environment.MY_CERT.fetch(endpoint_url)
return await environment.MY_CERT.fetch(endpoint_url)
not working and when i console out the MY
_CERT I get
"undefined
"
Cloudflare Docs
mTLS · Cloudflare Workers docs
Configure your Worker to present a client certificate to services that enforce an mTLS connection
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cannot delete mtls-certificate
CD
Cloudflare Developers / workers-and-pages-help
13mo ago
Worker mTLS
CD
Cloudflare Developers / workers-and-pages-help
3y ago
worker mTLS
CD
Cloudflare Developers / workers-and-pages-help
3y ago
worker mTLS CA
CD
Cloudflare Developers / workers-and-pages-help
3y ago