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

Update secuirty guide with SSL #2773

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ TorchServe as much as possible relies on automated tools to do security scanning
2. TorchServe executes arbitrary python code packaged in the `mar` file. Make sure that you've either audited that the code you're using is safe and/or is from a source that you trust
4. By default TorchServe allows you to register models from all URLs. Make sure to set `allowed_urls` parameter in config.properties to restrict this. You can find more details in the [configuration guide](https://github.com/pytorch/serve/blob/master/docs/configuration.md#other-properties)
- `use_env_allowed_urls=true` is required in config.properties to read `allowed_urls` from environment variable
5. Enable SSL:

TorchServe supports two ways to configure SSL:
1. Using a keystore
2. Using private-key/certificate files

You can find more details in the [configuration guide](https://github.com/pytorch/serve/blob/master/docs/configuration.md#enable-ssl)



Expand Down
Loading