-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Handling of errSSLPeerAuthCompleted and other non-fatal error codes #205
Comments
Yeah, you should not be seeing an errSSLPeerAuthCompleted. Could you put together a small self contained example that hits that error? |
Hi, I'm getting the same "peer cert is valid, or was ignored if verification disabled" error from using reqwest with the "native-tls" feature on a MacOS M1. My implementation loads a PKCS12 as an identity to send in the request. Investigating, I found this line in the reqwest project that indicates the use of tokio_native_tls. It seems to be something with this comment on Apple's SecureTransport.h.
Example
Deps:
|
Hey guys, this PR at security-framework solves this problem. |
When attempting to do peer authentication with a macOS client, an error gets raised corresponding with errSSLPeerAuthCompleted. This shouldn't actually be raised, should it? (For reference, errSSLPeerAuthCompleted is explicitly described as a non-fatal result, and seems to occur as a normal part of peer authentication)
The text was updated successfully, but these errors were encountered: