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

Allow self-signed certificates #35

Open
stanier opened this issue Feb 22, 2025 · 2 comments
Open

Allow self-signed certificates #35

stanier opened this issue Feb 22, 2025 · 2 comments

Comments

@stanier
Copy link

stanier commented Feb 22, 2025

In development scenarios where the inference endpoint is being called over a shared network rather than on localhost, it is thought reasonable to secure the connection with self-signed SSL certificates.

Would be nice to see such option here, if it were deemed appropriate to cater to such use case.

Speaking personally, this comes from a risks-acknowledged position. A friendly reminder not to use insecure connections across untrusted networks would be customary though for such "Skip Certificate Verification" toggles in UI if implemented.

@ggerganov
Copy link
Member

The llama-server supports SSL certificates, though you would have to build it from source with enabled SSL support:

https://github.com/ggml-org/llama.cpp/tree/master/examples/server#build-with-ssl

Then you can use the --ssl-key-file and --ssl-cert-file CLI args to specify a certificate.

@stanier
Copy link
Author

stanier commented Feb 22, 2025

The llama-server supports SSL certificates, though you would have to build it from source with enabled SSL support:

https://github.com/ggml-org/llama.cpp/tree/master/examples/server#build-with-ssl

Then you can use the --ssl-key-file and --ssl-cert-file CLI args to specify a certificate.

Thanks, that is good to know. Though, I currently have a reverse proxy taking care of SSL, and the issue is that llama.vscode extension does not have an option to allow self-signed certificates.

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

No branches or pull requests

2 participants