-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SSL Error on HTTPS client request. #794
Comments
What version of hyper is this with? |
I'm getting the same problem whenever trying to use https, I tried the same code as shown by novacrazy while using version 0.9.4, and I'm getting the same error. |
@looah-bmtmch on Windows? |
@seanmonstar windows 10 |
It doesn't work, so it's just causing errors. Closes #794
@seanmonstar This was with hyper version 0.9.4 Any thoughts on why it would fail like this? |
It doesn't work, so it's just causing errors. Closes #794
@novacrazy Hyper previously didn't validate a server's certificates at all. This is super bad. That was fixed, but openssl doesn't know how find a trusted certificate list on Windows by default, hence the errors, since there are no trusted roots. |
I'm experiencing this on Raspbian armhf cross compiled from Debian 64bit with Hyper 0.9.6 |
I have exact the same error on MacOS for signed certificate:
|
@MrSpock SSL is no longer in this library. From that error, it looks like you're using openssl. You may wish to check there. |
For even something as simple as:
I get this panic:
So either I'm missing something crucial like how to add root certs to hyper or something, I'm not sure. I don't really have anything to go on.
I'm on Windows 10.0.10586, using Rust 1.10.0-nightly (8492b6aa4 2016-05-14), and the Win32OpenSSL/Win64OpenSSL v1.0.2h 64-bit OpenSSL implementation for rust-openssl.
I have a feeling this isn't really a "bug" with either hyper or rust-openssl, but rather I simply don't know how to properly initialize whatever it is I need to in order to use HTTPS.
The text was updated successfully, but these errors were encountered: