-
Notifications
You must be signed in to change notification settings - Fork 83
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
On App (not web) - Allow connections to servers using self-signed certificates #343
Comments
I've started working with SurrealDB recently and this has been a pain point for me as well. Have you gotten started on this yet? If not I can start working on it. While I've worked with Tauri and rust before, I haven't actually looked at this code base yet, so any help you can provide would be much appreciated. |
@akneni, I haven't started yet. There is one pre-requisite:
And keep in mind is that this should only apply to when running it in |
@PeterFalken So, I had asked about this on their discord server. Apparently the connections to the database occur though the native webview, which I don't think we can enable to accept self signed certificates. This may require building out quite a bit of rust code to implement these connections from scratch and configure the typescript codebase to optionally use these new rust functions to connect to the database rather than the native webview. |
@akneni - I might be wrong, but based on comments & messages from the discord server & after some research it seems that this is an upstream issue with the base framework.
hoppscotch/hoppscotch#392 Regarding the driver, the core API for Connections, would need extra parameters/options to skip certificate validation. From CONTRIBUTING.md on SurrelDB.py
|
when it will be supported ? |
Describe your feature request
As a user/dev, I would like to connect to a server that uses self-signed certificates. Since this is not allowed on the browser, the APP implementation should allow creating a connection where the certificate validation/check is optional.
The rational for this feature, is that sometimes development environments are setup with self-signed certificates, this allows testing the connections with TLS/SSL similar to what the PROD environment will use, the only difference being the certificate validation.
I'm basing the feature on a similar connection features that exists on PostgreSQL, This would allow self-hosted DEV environments with TLS/SSL connectivity.
Are you willing to contribute this feature?
I can help if needed.
The text was updated successfully, but these errors were encountered: