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

Critical fix needed for Moon-APNS, Apple blocks SSL3 connections starting Oct 30th 2014 #17

Open
patch-e opened this issue Nov 1, 2014 · 4 comments

Comments

@patch-e
Copy link

patch-e commented Nov 1, 2014

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);

@dangh
Copy link

dangh commented Nov 3, 2014

thanks @patch-e save my day 😄

@alefsys
Copy link

alefsys commented Dec 5, 2014

Hi patch-e, I have done the same. But I did not receive any notification. also no error is occuerd

@markeins
Copy link

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?

@AqlaSolutions
Copy link

Anybody here?

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

5 participants