Custom CA for Worker

A service I call requires a custom CA cert. I've done this in node with axios by creating custom https agents and either settings rejectUnauthorized to false or passing in the cert value.

AFAIK I am unable to pass these options into fetch in a worker, and also can't upload the cert to the worker somehow. The only thing I've seen is mTLS certs which doesn't seem applicable in my case because I only have a certificate file and not a key file.

Any suggestions or insider knowledge around this issue? Seems like it'd be a pretty essential feature?
Was this page helpful?