Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding SSL certificate + key file parameters to run command (passthrough to uvicorn webserver) #905

Closed
wants to merge 1 commit into from

Conversation

shanelenagh
Copy link

I added optional parameters to pass an SSL certificate file and key file through to the webserver in the run command, as either a CLI or env var using the existing pattern, so that traffic can be secured from the app source (installing behind a reverse-proxy might not be desirable in all cases, and if the proxy is outside the host or container of this app there might be security constraints requiring that traffic to be encrypted as well, which was the reason I implemented this for my use case). This passes through to the webserver (uvicorn) config object, and I have confirmed it provides an SSL connection from the source when proper cert+key files are used.

@tpatel
Copy link
Collaborator

tpatel commented Apr 23, 2024

Could you share more about your use case where the reverse proxy isn't an option?

@tpatel
Copy link
Collaborator

tpatel commented May 23, 2024

closing in favor of #933

@tpatel tpatel closed this May 23, 2024
@shanelenagh
Copy link
Author

Sorry @tpatel , life got busy and I missed this thread. Glad to see another PR with similar functionality is being merged, pending those changes requested. For the record we have requirements where the content needs to be encrypted at the source, even as it's traversing over our local network to the distinct proxy server (not a local node container), per our network security policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants