Allow invalid ssl certificates in fetch api

is there any option to ignore invalid ssl certificates for fetching external api in cloudflare workers?