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

Error: "peer cert is valid, or was ignored if verification disabled" #76

Open
iamjarvo opened this issue Feb 13, 2019 · 1 comment
Open

Comments

@iamjarvo
Copy link

I get the following error when trying to talk to a SSO solution.

 Hyper(
        Error {
            kind: Io,
            cause: Custom {
                kind: Other,
                error: Error {
                    code: -9841,
                    message: "peer cert is valid, or was ignored if verification disabled"
                }
            }
        }
    )

The same code works on linux fine. When on linux, rusttls uses openssl.

There was some chat about the issue in irc https://mozilla.logbot.info/rust/20190213. We think its because of renegotiation.

Thanks for sharing this library!

@ragoso
Copy link
Contributor

ragoso commented May 12, 2023

is this up? I have the same problem from the rust-native-tls lib

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