Proxy an insecure HTTPS outbound (self signed cert) in workers

I have a service https://myservice.com:18091 it's using a custom HTTPS port and a self signed certificate from an unknown CA.

Problem is,
  • in workers the connection is terminated because the certificate is from an unknown CA
  • i tried "Full-SSL", but it's using a custom port, so masking it behind a CNAME with full-ssl wouldn't work
Is there a service i can use in Cloudflare to solve this? like a proxy or tunnel?

Currently, i'm solving this by forwarding it's payload to another service that is outside cloudflare, that has a proper HTTPS/TSL certificate, in a full nodejs envinroment, where i can ignore TSL cert errors and process requests on it's behalf, problem is it's slow since it makes 2 apis calls and this proxy requires running a full nodejs environment.
Was this page helpful?