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

Is there a way to open a self signed certification https site with wry::WebViewBuilder? #1171

Open
cyberpsyche opened this issue Feb 17, 2024 · 0 comments

Comments

@cyberpsyche
Copy link

I'm a newbie in Rust and Wry. I searched the lib.rs source but cannot find a 'fn' looks like "with_accept_invalid_certi' or "with_accept_unsecure_certi' or such functions like that. Maybe it's not related to Wry itself.

I just use the simple example in the repository and try to build a desktop app to show a local network website which is self signed before. I can open many websites by using the simple example code, but if I change the url to "https://192.168.1.xxx" then I could only get a blank window with nothing information output to the shell terminal. In the mean while, I could visit the "https://192.168.1.xxx" website on my browser, both on Chrome and Safari. (Of course, the browser showed it's "not secure", but you can still visit it.)

Is there a proper way to handle this issue ? Thanks for your help so much!

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

1 participant