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

Status update on replacing openssl-sys with rustls? #414

Open
piperun opened this issue Sep 29, 2024 · 1 comment
Open

Status update on replacing openssl-sys with rustls? #414

piperun opened this issue Sep 29, 2024 · 1 comment

Comments

@piperun
Copy link

piperun commented Sep 29, 2024

After 3 days of fruitless effort to get the stupid openssl-sys to work with rust (flutter-rust-bridge) I just had to throw in the towel and use the pre-compiled package.
From what I understand so far rustls doesn't work with https or?

@snshn
Copy link
Member

snshn commented Dec 2, 2024

Hi there @piperun,

rustls doesn't work with most websites that I tried to use it for, it probably just doesn't have access to locally-installed certs the way openssl does.
That thing is the biggest pain in the neck in the whole project, if not for TLS, it'd be just one big Hello, World that parses HTML. I've thrown in many towels working on that one, trust me. The current setup seems to be working for both pre-compiled binaries with openssl bindings, as well as for self-built installations.

Please let me know if you'd like to share logs or more about the exact situation you're having, I'll try to find the perfect final solution that makes everyone happy.

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