Tailscale Serve an already https port

I use tailscale to access all my web apps via https remotely. I love how it just works and I deleted my reverse proxy already.

Is there a way to serve a port which is using a https (uncertified) already. Some docker images like KASM are exposing https connections only

I tried

“sudo tailscale serve https:1443 /”.

I would like tailscale to ignore the invalid certificate from KASM and serve the service with a cert from tailscale. So that I don’t get a cert warning while browsing. How can i do it .

Serving HTTP to https works without any problems

Tailscale version : always updated - I love “sudo apt update; apt upgrade -y :wink:
Your operating system & version : Debian 11.7