Tailscale + Fly + SSL

I followed the Tailscale + Fly docs at Tailscale on Fly.io · Tailscale - this worked great.

However, I would like to setup TLS - if I add a tailscale cert command into start.sh this should work.

However, if I name the tailscale client fly-app as per the docs and then restart containers, over time I will see names like fly-app-1, fly-app-2 etc.

Then the tailscale cert command fails because it doesn’t match.

Any ideas how to unpick this? Do I need a different approach?

1 Like

Seconding this. I am doing the exact same thing and have the exact same issue :slight_smile:

1 Like

Also asked Tailscale + Fly + SSL - Questions / Help - Fly.io.

Bump - any ideas? This must be possible!