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

CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:354)) #47

Closed
maheshlalu opened this issue Dec 31, 2019 · 4 comments

Comments

@maheshlalu
Copy link

only in Android.

@cloudwebrtc
Copy link
Member

Please check your SSL certificate.

@maheshlalu
Copy link
Author

it's working in iOS. What is difference. kindle check once.

@maheshlalu
Copy link
Author

maheshlalu commented Jan 8, 2020

Fixed the issue I have commented the code in WebSocket_dart_imp.dart file and uncommented the allow self-signed certificate, for test only.
// _socket =
// await WebSocket.connect(_url, protocols: protocols, headers: headers);

  /// Allow self-signed certificate, for test only.
   var parsed_url = Grammar.parse(this._url, 'absoluteURI');
   _socket = await _connectForBadCertificate(parsed_url.scheme, parsed_url.host, parsed_url.port);

I am getting waring in log.
@cloudwebrtc please explain me what is difference between connect and connectForBadCertificate methods.

@maheshlalu
Copy link
Author

@cloudwebrtc please update on it.

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