Redirect URL to other URL using Worker

Hey Guys,

i’m trying to redirect my Worker to an URL.
I created a CNAME DNS entry to access the worker (www.example.de) which should redirect the request to an other url (app2.example.de).

But i’m getting a ERR_SSL_VERSION_OR_CIPHER_MISMATCH. Any Ideas how to fix that?

What’s your SSL encryption mode? Off?

The target url has it own SSL Certificate and if i try to access the website without the cloudflare worker it works like it should

When you mention redirect, do you mean you return a 301 or 302 redirect response to the visitor? Or you are just doing domain masking?

The worker handle the request with:

Response.redirect("https://app2.example.de:8443/", 301)

You mean if you directly access the URL (including the https:// in front of the URL and port number 8443 specified at the end of the URL), you won’t get any error?

correct. if i try to access https://app2.example.de:8443/ it works and if i use www.examle.de (the worker) i get the ERR_SSL_VERSION_OR_CIPHER_MISMATCH.

Did you already proxy this subdomain?

And, can you confirm:

The setting above is not Off?

i proxy the website and i can comfirm the full (strict) setting in SSL/TLS

I just had to add a route to the worker :sweat_smile:
thanks for the help

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.