[GH-ISSUE #93] [FEATURE_REQUEST] ssl option for linux side #43

Open
opened 2026-10-15 18:06:29 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @jfmherokiller on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/93

Have you searched for similar requests?

Yes

No response

Describe the solution you'd like

add an option to generate the needed openssl certs and configurations for the linux side of the launcher so that addons that desire it or users who wish to make use of ssl dont need to scrub the bat files to figure out how you setup the windows side.

Describe alternatives you've considered

generating the certs myself and configuring the yaml

Additional context

No response

Priority

Medium (Would be very useful)

Is this something you would be keen to implement?

None

Originally created by @jfmherokiller on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/93 ### Have you searched for similar requests? Yes ### Is your feature request related to a problem? If so, please describe. _No response_ ### Describe the solution you'd like add an option to generate the needed openssl certs and configurations for the linux side of the launcher so that addons that desire it or users who wish to make use of ssl dont need to scrub the bat files to figure out how you setup the windows side. ### Describe alternatives you've considered generating the certs myself and configuring the yaml ### Additional context _No response_ ### Priority Medium (Would be very useful) ### Is this something you would be keen to implement? None
Author
Owner

@jfmherokiller commented on GitHub (Jan 3, 2025):

for anyone coming behind me the important line to generate your own certs from the batch files is this

"%opensslPath%" req -x509 -newkey rsa:4096 -keyout "%KEY_FILE%" -out "%CERT_FILE%" -days 825 -nodes -subj "/CN=127.0.0.1" %outputRedirection%

and heres the possible bash version (converted using ai)

"${opensslPath}" req -x509 -newkey rsa:4096 -keyout "${KEY_FILE}" -out "${CERT_FILE}" -days 825 -nodes -subj "/CN=127.0.0.1" ${outputRedirection}
<!-- gh-comment-id:2569695404 --> @jfmherokiller commented on GitHub (Jan 3, 2025): for anyone coming behind me the important line to generate your own certs from the batch files is this ``` "%opensslPath%" req -x509 -newkey rsa:4096 -keyout "%KEY_FILE%" -out "%CERT_FILE%" -days 825 -nodes -subj "/CN=127.0.0.1" %outputRedirection% ``` and heres the possible bash version (converted using ai) ``` "${opensslPath}" req -x509 -newkey rsa:4096 -keyout "${KEY_FILE}" -out "${CERT_FILE}" -days 825 -nodes -subj "/CN=127.0.0.1" ${outputRedirection} ```
Author
Owner

@jfmherokiller commented on GitHub (Jan 4, 2025):

I am willing to attempt to implement this in a pull request but I am in the process of studying the repo and figuring out the best way that would follow the implied style guide which isnt going to well.

<!-- gh-comment-id:2571442297 --> @jfmherokiller commented on GitHub (Jan 4, 2025): I am willing to attempt to implement this in a pull request but I am in the process of studying the repo and figuring out the best way that would follow the implied style guide which isnt going to well.
Author
Owner

@deffcolony commented on GitHub (Jan 5, 2025):

@jfmherokiller The goal is to have the linux version of the launcher in sync with what the windows version of the launcher already offers... which takes a lot of time to update the linux side and since linux has so many distros you have to make sure it can work for all distros (we also speak about macOS and steamdeck)

we plan to make a python version of the sillytavern launcher so we can use one file for all to start the python we would only need a start.bat and start.sh but thats for the far future currently the linux version needs a major update yes

<!-- gh-comment-id:2571646236 --> @deffcolony commented on GitHub (Jan 5, 2025): @jfmherokiller The goal is to have the linux version of the launcher in sync with what the windows version of the launcher already offers... which takes a lot of time to update the linux side and since linux has so many distros you have to make sure it can work for all distros (we also speak about macOS and steamdeck) we plan to make a python version of the sillytavern launcher so we can use one file for all to start the python we would only need a start.bat and start.sh but thats for the far future currently the linux version needs a major update yes
Author
Owner

@jfmherokiller commented on GitHub (Jan 5, 2025):

depending on how you wish to play your cards you could go the oobabooga route and have miniconda handle all the dependencies in a possibly localized platform independent manner if they aren't new enough or not available on disk.

That methoid should work for all platforms including the steamdeck and osx.

<!-- gh-comment-id:2571651647 --> @jfmherokiller commented on GitHub (Jan 5, 2025): depending on how you wish to play your cards you could go the oobabooga route and have miniconda handle all the dependencies in a possibly localized platform independent manner if they aren't new enough or not available on disk. That methoid should work for all platforms including the steamdeck and osx.
Author
Owner

@deffcolony commented on GitHub (Feb 24, 2025):

@jfmherokiller this should now be fixed at github.com/SillyTavern/SillyTavern-Launcher@240badb9c9 (diff-070e0054c9)

Image

please update the launcher and let me know if everything works stable

<!-- gh-comment-id:2678306715 --> @deffcolony commented on GitHub (Feb 24, 2025): @jfmherokiller this should now be fixed at https://github.com/SillyTavern/SillyTavern-Launcher/commit/240badb9c9083ba1606dc51a10aadd438ea6fd73#diff-070e0054c9dc9d591e46936a2a58e2d098882038c888c1122fa439c3800532b9 ![Image](https://github.com/user-attachments/assets/0331e0dd-e3f1-4d18-a0f6-4f50a3e7a320) please update the launcher and let me know if everything works stable
Sign in to join this conversation.
No description provided.