You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add parameter for custom SSL files .crt & .key - as an alternative to using Cloudflare #8716
Currently it appears the only way to "securely" access the Unsloth Studio using HTTPS is using a Cloudflare tunnel.
In my use-case, I am using Tailscale to handle identity and access, ideally I would like to deny any access of HTTP so that only the users authenticating with the HTTPS provided by Tailscale can access the Unsloth Studio.
I would like to instead use Tailscale's HTTPS certificates for access and it provides a FQDN with two files:
FQDN.crt
FQDN.key
Could I specify these two files in a parameter when launching Unsloth Studio to securely be able to access through HTTPS and Tailscale / whatever 3rd party certificate issuer?
Something like:
--ssl-keyfile SSL_KEYFILE The path to the SSL certificate key file.
--ssl-certfile SSL_CERTFILE The path to the SSL certificate cert file.
changed the title [-]Add parameter for custom HTTPS .crt & .key - as an alternative to using Cloudflare[/-][+]Add parameter for custom SSL files .crt & .key - as an alternative to using Cloudflare[/+]on Aug 13, 2026
Confirmed that Tailscale works - but does not allow for proper SSL certificates while accessing Unsloth Studio over the network.
~
I think this should still be implemented
Bumping this feature request.
~
We are starting to roll out Unsloth Studio at work for local AI inference and we are using LAN access with Tailscale for authentication.
Instead of using a public URL provided by Cloudflare, I would like to specify a cert & key file locally to allow for local HTTPS access which is actually secure.
I am very happy with Unsloth as a product, but would like maximum security which means non-publicly exposing an HTTPS certificate for remote connections.
Fixed! Sorry on the delay. Studio can now serve HTTPS itself from your own certificate and key, so you can use your Tailscale .crt / .key directly without the Cloudflare tunnel: unsloth studio -H 0.0.0.0 --ssl-certfile host.ts.net.crt --ssl-keyfile host.ts.net.key. Plain HTTP on that port is refused. Added in #13447.
To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.
Activity
[-]Add parameter for custom HTTPS .crt & .key - as an alternative to using Cloudflare[/-][+]Add parameter for custom SSL files .crt & .key - as an alternative to using Cloudflare[/+]keturn commentedon Aug 27, 2026
See also
Aztexx commentedon Aug 27, 2026
Perhaps Tailscale will natively work and I don't need to explicitly specify SSL certificates?
I'll give it a shot later
Aztexx commentedon Sep 3, 2026
Confirmed that Tailscale works - but does not allow for proper SSL certificates while accessing Unsloth Studio over the network.
~
I think this should still be implemented
Aztexx commentedon Sep 30, 2026
Bumping this feature request.
~
We are starting to roll out Unsloth Studio at work for local AI inference and we are using LAN access with Tailscale for authentication.
Instead of using a public URL provided by Cloudflare, I would like to specify a cert & key file locally to allow for local HTTPS access which is actually secure.
I am very happy with Unsloth as a product, but would like maximum security which means non-publicly exposing an HTTPS certificate for remote connections.
danielhanchen commentedon Oct 13, 2026
Fixed! Sorry on the delay. Studio can now serve HTTPS itself from your own certificate and key, so you can use your Tailscale
.crt/.keydirectly without the Cloudflare tunnel:unsloth studio -H 0.0.0.0 --ssl-certfile host.ts.net.crt --ssl-keyfile host.ts.net.key. Plain HTTP on that port is refused. Added in #13447.To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update. For Docker, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.Studio: serve HTTPS from your own certificate (--ssl-certfile / --ssl…
Aztexx commentedon Oct 13, 2026
Thank you both @danielhanchen & @oobabooga