Skip to content

[Feature] set ssl certfile and keyfile from config file or environment #17640

Closed

Description

@keturn

Thank you for adding the --ssl-certfile & --ssl-keyfile options in #13447. Can we have a way to set those that does not involve passing them on the command line? e.g. a configuration file or environment variable?

I ask because that led me to running the docker container with unsloth studio instead of its standard entrypoint, and apparently that's leading to inconsistent behavior. (i.e. it doesn't run supervisord, and may be loading studio from different sources?)

Alternately, the docker studio_run script could gain a way to specify additional command-line options instead of its limited set.

Activity

  1. added
    feature request
    on Nov 13, 2026
  2. danielhanchen commented on Nov 14, 2026

    @danielhanchen
    Member

    Fixed! unsloth studio now reads UNSLOTH_STUDIO_SSL_CERTFILE and UNSLOTH_STUDIO_SSL_KEYFILE when neither --ssl-certfile nor --ssl-keyfile is passed, so the Docker image can serve HTTPS with its standard entrypoint: pass both with -e and mount the files into the container. The container's readiness check, unsloth-studio-update and the startup banner switch to https too. Fixed in #17648.
    To update: for Studio, use unsloth studio update. The Docker side ships with the next unsloth/unsloth image rebuild. Reopen if it still happens.

  3. added a commit that references this issue on Nov 14, 2026
    2e428bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions