-
Notifications
You must be signed in to change notification settings - Fork 275
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
Option to accept self signed certificateSSL certificate on Android Platform #61
Comments
Just updated VS 2015 release notes say Mono 4.6.1 but still throwing java.ssl.exception. Can anyone advise? It is pretty critical. |
What's the error did you get? The exception's message should help. |
I am getting: "Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: The authentication or de…" only for |
On using: WebSocket(string uri, string subProtocol = "", List<KeyValuePair<string, string>> cookies = null, List<KeyValuePair<string, string>> customHeaderItems = null, string userAgent = "", string origin = "", WebSocketVersion version = WebSocketVersion.None, EndPoint httpConnectProxy = null, SslProtocols sslProtocols = SslProtocols.None, int receiveBufferSize = 0) used TLS1, 1.1 & 1.2 none of them worked |
Any Suggestions? |
Could you try WebSocket4Net 0.15.0-beta6 instead? |
ok. I will try it and let you know. How did you resolve the error since the bug was in mono. |
There are two properties of websocket's Security option you may need:
|
Getting This error:
Can you help me with this? |
I am not sure if PCL project can reference one .net core assembly. |
Hi Kerry, I work with Raj at the same company and wanted to help flush-out the SSL issue we're having. I installed the latest version (0.15.0-beta6) and I don't see the two API's you mentioned above: Are those properties supposed to be in the 0.15.0-beta6? Also, running the 0.15.0-beta6, trying to connect via wss, I received the following exception: "Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: The authentication or de… Can you help us with this? If this is a bug, could it be with the SuperSocket.ClientEngine.SslStreamTcpSession? Here is the stack trace and exception: [0:] The authentication or decryption has failed. thanks much, |
They are properties of Security. websocket.Security.AllowUnstrustedCertificate |
HI Kerry, Your properties didn't help. Will you need to make changes in the SuperSocket codebase to incorporate the fix? |
Sorry, I cannot understand the problem. |
Hi,
I downloaded your examples and running lates stable version of websocket4net. Is there a way I can achieve ServerCertificateValidationCallback to return true able to connect to server accepting wss:// connection. Will it work with TLS 1.0 since Xamarin is running few version behind to mono 4.6 which has the fix for TLS 1.2
I would appreciate if you can give a detail answer.
Things tried: #46 : Allow certificate does not help.
#40
Thanks!
The text was updated successfully, but these errors were encountered: