Open patch-e opened 9 years ago
thanks @patch-e save my day :smile:
Hi patch-e, I have done the same. But I did not receive any notification. also no error is occuerd
I tried the update with:
_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Tls, false);
and
_apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Default, false);
and still I'm getting the "Authentication failed because the remote party has closed the transport stream" error. Can anybody help me?
Anybody here?
Apple no longer allows authenticating to the APNS via SSL3. TLS is now the only supported authentication type.
Moon-APNS still authenticates via SSL3 and requires a minor change to switch to TLS.
Currently: _apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Ssl3, false); Updated line: _apnsStream.AuthenticateAsClient(host, certificates, System.Security.Authentication.SslProtocols.Tls, false);