<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: iPhone Apple Push Notification Service (APNS)</title>
	<atom:link href="http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/</link>
	<description>My blog to talk on iPhone, Mac OS, Adobe Flex, AIR...</description>
	<lastBuildDate>Thu, 12 Aug 2010 07:48:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anish Kumar</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-710</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Thu, 12 Aug 2010 07:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-710</guid>
		<description>The SSl server address is correct, so the problem lies with your certificates. So here is the check list you need to see for your problem:

1. Make sure you have created the certificate sigining request file(CertificateSigningRequest.certSigningRequest) from your SERVER  from where you are invoking the PHP script. Most users usually create this file from their local development machine and then upload to iphone developer portal to create the aps_developer_identity.cer. (I strongly believe this is the case with you as I can see you are using a Linux server. Let me know if you need steps to create CertificateSigningRequest.certSigningRequest on a linux machine. )
2. You might have missed any one of the step mentioned above in the tutorial.

-Anish</description>
		<content:encoded><![CDATA[<p>The SSl server address is correct, so the problem lies with your certificates. So here is the check list you need to see for your problem:</p>
<p>1. Make sure you have created the certificate sigining request file(CertificateSigningRequest.certSigningRequest) from your SERVER  from where you are invoking the PHP script. Most users usually create this file from their local development machine and then upload to iphone developer portal to create the aps_developer_identity.cer. (I strongly believe this is the case with you as I can see you are using a Linux server. Let me know if you need steps to create CertificateSigningRequest.certSigningRequest on a linux machine. )<br />
2. You might have missed any one of the step mentioned above in the tutorial.</p>
<p>-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Speed_Code</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-709</link>
		<dc:creator>Speed_Code</dc:creator>
		<pubDate>Thu, 12 Aug 2010 07:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-709</guid>
		<description>Hi,
   i am working for the push requirement for the production server, have worked out with the development and it was working fine. In the Push i am done with all the certificates generation and all now for the push to the production server. I am getting the following error in my Mac Terminal Can anyone Guide me same ?

Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/-Certifcates/apns.php on line 31
Failed to connect 0 php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/mymachine/Desktop/Solution-Certifcates/apns.php on line 31.......



please let me know what should i do for getting out of it ......


Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   i am working for the push requirement for the production server, have worked out with the development and it was working fine. In the Push i am done with all the certificates generation and all now for the push to the production server. I am getting the following error in my Mac Terminal Can anyone Guide me same ?</p>
<p>Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/-Certifcates/apns.php on line 31<br />
Failed to connect 0 php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known<br />
Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/mymachine/Desktop/Solution-Certifcates/apns.php on line 31&#8230;&#8230;.</p>
<p>please let me know what should i do for getting out of it &#8230;&#8230;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Speed_Code</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-708</link>
		<dc:creator>Speed_Code</dc:creator>
		<pubDate>Thu, 12 Aug 2010 07:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-708</guid>
		<description>Hi,
   i am working for the push requirement for the production server, have worked out with the development and it was working fine. In the Push i am done with all the certificates generation and all now for the push to the production server. I am getting the following error in my Mac Terminal Can anyone Guide me same ?

Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/sapanvasanawala/Desktop/GlobaliSolution-Certifcates/apns.php on line 31
Failed to connect 0 php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/mymachine/Desktop/Solution-Certifcates/apns.php on line 31.......



please let me know what should i do for getting out of it ......


Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   i am working for the push requirement for the production server, have worked out with the development and it was working fine. In the Push i am done with all the certificates generation and all now for the push to the production server. I am getting the following error in my Mac Terminal Can anyone Guide me same ?</p>
<p>Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/sapanvasanawala/Desktop/GlobaliSolution-Certifcates/apns.php on line 31<br />
Failed to connect 0 php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known<br />
Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /Users/mymachine/Desktop/Solution-Certifcates/apns.php on line 31&#8230;&#8230;.</p>
<p>please let me know what should i do for getting out of it &#8230;&#8230;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fatih YASAR</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-707</link>
		<dc:creator>Fatih YASAR</dc:creator>
		<pubDate>Thu, 29 Jul 2010 19:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-707</guid>
		<description>@Mahendera,
Check out to MonoPush project that accessible from http://monopush.com it seems they will provide what you requested. 

Regards</description>
		<content:encoded><![CDATA[<p>@Mahendera,<br />
Check out to MonoPush project that accessible from <a href="http://monopush.com" rel="nofollow">http://monopush.com</a> it seems they will provide what you requested. </p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahendera</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-703</link>
		<dc:creator>Mahendera</dc:creator>
		<pubDate>Fri, 16 Jul 2010 11:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-703</guid>
		<description>Hi

I have some issues about Apple Push Notification :

1. if I am using sandbox environment to push notification on iphone then how can I push messages to my multiple iphone devices for testing purpose.

2. I can make a build with ad-hoc provisioning profile to test application.

3. How can I send user preferred messages to specific user.

4. How can I send geo-based push notification to user.

Please reply if you have any idea about above issues.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I have some issues about Apple Push Notification :</p>
<p>1. if I am using sandbox environment to push notification on iphone then how can I push messages to my multiple iphone devices for testing purpose.</p>
<p>2. I can make a build with ad-hoc provisioning profile to test application.</p>
<p>3. How can I send user preferred messages to specific user.</p>
<p>4. How can I send geo-based push notification to user.</p>
<p>Please reply if you have any idea about above issues.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-697</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 17 Jun 2010 07:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-697</guid>
		<description>Hi Anish,

I have some questions about iLime, but can&#039;t find any support email from your website.
Can you please give me an email address that I can contact iLime?

Thanks!

Kevin</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>I have some questions about iLime, but can&#8217;t find any support email from your website.<br />
Can you please give me an email address that I can contact iLime?</p>
<p>Thanks!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-696</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 16 Jun 2010 02:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-696</guid>
		<description>Hi Anish,

Thank you for your reply!

My hosting company block all my connection to Apple. 
So I am building my linux server, I use ubuntu.

Thanks again!

Kevin</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>Thank you for your reply!</p>
<p>My hosting company block all my connection to Apple.<br />
So I am building my linux server, I use ubuntu.</p>
<p>Thanks again!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Kumar</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-695</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Mon, 14 Jun 2010 13:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-695</guid>
		<description>HI Kevin,

Sorry for the late reply I was held up with loads of work.  You should remember, all the keys and certificates are for the machine where you are finally deploying your code(where you want to run those php scripts).

I used Amazon EC2 servers which gave me terminal access and i was able to deploy the APNS services without any hassles. Once you get the aps_developer_identity.cer, execute the following commands on your server. 
&lt;strong&gt;Generating .PEM file&lt;/strong&gt;
To create the file ck.pem file required to access the APNS service, we need to generate the ck.pem file by running the following command on the SSH terminal:
&lt;code&gt;openssl x509 -inform der -in aps_production_identity.cer -out ck.pem&lt;/code&gt;
Once the ck.pem file is generated, PHP is ready to use that certificate to talk to push notification over the secure SSL channel.

Hope this helps..!
-Anish</description>
		<content:encoded><![CDATA[<p>HI Kevin,</p>
<p>Sorry for the late reply I was held up with loads of work.  You should remember, all the keys and certificates are for the machine where you are finally deploying your code(where you want to run those php scripts).</p>
<p>I used Amazon EC2 servers which gave me terminal access and i was able to deploy the APNS services without any hassles. Once you get the aps_developer_identity.cer, execute the following commands on your server.<br />
<strong>Generating .PEM file</strong><br />
To create the file ck.pem file required to access the APNS service, we need to generate the ck.pem file by running the following command on the SSH terminal:<br />
<code>openssl x509 -inform der -in aps_production_identity.cer -out ck.pem</code><br />
Once the ck.pem file is generated, PHP is ready to use that certificate to talk to push notification over the secure SSL channel.</p>
<p>Hope this helps..!<br />
-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-690</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 08 Jun 2010 04:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-690</guid>
		<description>Dear Anish,

I can create the server.key file but can&#039;t create the server.csr

When I try this command to create the .csr file
openssl req -new -key server.key -out server.csr
it shows:
Unable to load config info from /etc/pki/tls/openssl.cnf

Anyway, our server is hosted in other company and they provide cPanel X to set up our server. I find that there is a SSL/TLS Manager. And I use this manager to create the Private Key. When I want to create the private key, I typed our website into the host field and use key size:2048. After that I use this key from SSL/TLS Manager to generate a server.csr file and I need to type in the country, state.... etc....

Are these steps correct?

I upload this server.csr file to iPhone developer portal to create the APNS SSL certificate- aps_developer_identity.cer
and then double click this aps_developer_identity.cer to install into my local iMac. I open the keychain access and find that this certificate without any private key.

What should I do next?

Please help! Many thanks!

Kevin</description>
		<content:encoded><![CDATA[<p>Dear Anish,</p>
<p>I can create the server.key file but can&#8217;t create the server.csr</p>
<p>When I try this command to create the .csr file<br />
openssl req -new -key server.key -out server.csr<br />
it shows:<br />
Unable to load config info from /etc/pki/tls/openssl.cnf</p>
<p>Anyway, our server is hosted in other company and they provide cPanel X to set up our server. I find that there is a SSL/TLS Manager. And I use this manager to create the Private Key. When I want to create the private key, I typed our website into the host field and use key size:2048. After that I use this key from SSL/TLS Manager to generate a server.csr file and I need to type in the country, state&#8230;. etc&#8230;.</p>
<p>Are these steps correct?</p>
<p>I upload this server.csr file to iPhone developer portal to create the APNS SSL certificate- aps_developer_identity.cer<br />
and then double click this aps_developer_identity.cer to install into my local iMac. I open the keychain access and find that this certificate without any private key.</p>
<p>What should I do next?</p>
<p>Please help! Many thanks!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Kumar</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-689</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Mon, 07 Jun 2010 10:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-689</guid>
		<description>For generating the APNS SSL certificate, we need to upload a certificate signing request (CSR) file to the iPhone developer portal. On Linux a CSR file can be generated by running the following commands on the SSH terminal you have logged in as described in section 5.5. Executing the command will prompt you to enter a pass phrase password as shown in the figure below.

&lt;code&gt;openssl genrsa -des3 -out server.key 2048&lt;/code&gt;

Next use the server.key file and run the below command to create the .csr file that is uploaded to the iPhone developer portal.

&lt;code&gt;openssl req -new -key server.key -out server.csr&lt;/code&gt;

Running these command prompts to enter various details like country, state city etc. Provide appropriate values to each of the options to create the CSR file. Upload the CSR file to the iPhone developer portal to create the APNS SSL certificate - aps_developer_identity.cer

Hope this helps..!
-Anish</description>
		<content:encoded><![CDATA[<p>For generating the APNS SSL certificate, we need to upload a certificate signing request (CSR) file to the iPhone developer portal. On Linux a CSR file can be generated by running the following commands on the SSH terminal you have logged in as described in section 5.5. Executing the command will prompt you to enter a pass phrase password as shown in the figure below.</p>
<p><code>openssl genrsa -des3 -out server.key 2048</code></p>
<p>Next use the server.key file and run the below command to create the .csr file that is uploaded to the iPhone developer portal.</p>
<p><code>openssl req -new -key server.key -out server.csr</code></p>
<p>Running these command prompts to enter various details like country, state city etc. Provide appropriate values to each of the options to create the CSR file. Upload the CSR file to the iPhone developer portal to create the APNS SSL certificate &#8211; aps_developer_identity.cer</p>
<p>Hope this helps..!<br />
-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-688</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sun, 06 Jun 2010 10:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-688</guid>
		<description>Hi Anish,

Yes, I did create the certificate sigining request file from my computer and then upload to our host server (a linux machine).
Please give me the steps to create CertificateSigningRequest.certSigningRequest on a linux machine.

Thank you very much for all your help!

Regards
Kevin</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>Yes, I did create the certificate sigining request file from my computer and then upload to our host server (a linux machine).<br />
Please give me the steps to create CertificateSigningRequest.certSigningRequest on a linux machine.</p>
<p>Thank you very much for all your help!</p>
<p>Regards<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-687</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 05 Jun 2010 07:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-687</guid>
		<description>Hi Anish,

Yes, I did create the certificate sigining request file from my computer and then upload to our host server (a linux machine). 
Please give me the steps to create CertificateSigningRequest.certSigningRequest on a linux machine.

Thank you very much for all your help!

Regards
Kevin</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>Yes, I did create the certificate sigining request file from my computer and then upload to our host server (a linux machine).<br />
Please give me the steps to create CertificateSigningRequest.certSigningRequest on a linux machine.</p>
<p>Thank you very much for all your help!</p>
<p>Regards<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Kumar</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-686</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Sat, 05 Jun 2010 05:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-686</guid>
		<description>Hi Kevin,
If your path to ck.pem file is correct, then for sure the ck.pem file was not created properly(probably was created using an invalid apns provision profile). Here is the possible things that you might have done wrong:
1. Make sure you have created the certificate sigining request file(CertificateSigningRequest.certSigningRequest) from your &lt;strong&gt;SERVER&lt;/strong&gt; from where you are invoking the PHP script. Most users usually create this file from their local development machine and then upload to iphone developer portal to create the aps_developer_identity.cer.  (I strongly believe this is the case with you as I can see you are using a Linux server. Let me know if you need steps to create CertificateSigningRequest.certSigningRequest on a linux machine. )
2. You might have missed any one of the step mentioned above in the tutorial.

Hope this helps..!
-Anish</description>
		<content:encoded><![CDATA[<p>Hi Kevin,<br />
If your path to ck.pem file is correct, then for sure the ck.pem file was not created properly(probably was created using an invalid apns provision profile). Here is the possible things that you might have done wrong:<br />
1. Make sure you have created the certificate sigining request file(CertificateSigningRequest.certSigningRequest) from your <strong>SERVER</strong> from where you are invoking the PHP script. Most users usually create this file from their local development machine and then upload to iphone developer portal to create the aps_developer_identity.cer.  (I strongly believe this is the case with you as I can see you are using a Linux server. Let me know if you need steps to create CertificateSigningRequest.certSigningRequest on a linux machine. )<br />
2. You might have missed any one of the step mentioned above in the tutorial.</p>
<p>Hope this helps..!<br />
-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-685</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 05 Jun 2010 01:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-685</guid>
		<description>Hi Anish,

Thanks for your reply!
My ck.pem file is in the same folder of testAPNS.php

I tried
stream_context_set_option($ctx, &#039;ssl&#039;, &#039;local_cert&#039;, &#039;ck.pem&#039;);
and 
stream_context_set_option($ctx, &#039;ssl&#039;, &#039;local_cert&#039;, &#039;/public_html/ck.pem&#039;);

but the same result:
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in /home/kcs33109/public_html/testAPNS.php on line 21
Failed to connect 110

I really don&#039;t know how to solve it!

Please help!

Regards
Kevin</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>Thanks for your reply!<br />
My ck.pem file is in the same folder of testAPNS.php</p>
<p>I tried<br />
stream_context_set_option($ctx, &#8217;ssl&#8217;, &#8216;local_cert&#8217;, &#8216;ck.pem&#8217;);<br />
and<br />
stream_context_set_option($ctx, &#8217;ssl&#8217;, &#8216;local_cert&#8217;, &#8216;/public_html/ck.pem&#8217;);</p>
<p>but the same result:<br />
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in /home/kcs33109/public_html/testAPNS.php on line 21<br />
Failed to connect 110</p>
<p>I really don&#8217;t know how to solve it!</p>
<p>Please help!</p>
<p>Regards<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Kumar</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-684</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Thu, 03 Jun 2010 13:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-684</guid>
		<description>Hey Kevin,

The error mostly occurs when the APNS certificate is not proper. Do make sure the path to the &quot;ck.pem&quot; file is correct(You need to give your full system path to the file: /Library/WebServer/Documents/apns/ck.pem)

Hope it helps..!
All the best,
-Anish</description>
		<content:encoded><![CDATA[<p>Hey Kevin,</p>
<p>The error mostly occurs when the APNS certificate is not proper. Do make sure the path to the &#8220;ck.pem&#8221; file is correct(You need to give your full system path to the file: /Library/WebServer/Documents/apns/ck.pem)</p>
<p>Hope it helps..!<br />
All the best,<br />
-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-683</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 03 Jun 2010 13:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-683</guid>
		<description>Hi, I try the above code.

But get the below error:
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in /home/kcs33109/public_html/testAPNS.php on line 21
Failed to connect 110

We are located in Australia. Any idea for how to solve this problem!

Thanks!

Kevin</description>
		<content:encoded><![CDATA[<p>Hi, I try the above code.</p>
<p>But get the below error:<br />
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in /home/kcs33109/public_html/testAPNS.php on line 21<br />
Failed to connect 110</p>
<p>We are located in Australia. Any idea for how to solve this problem!</p>
<p>Thanks!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taraktas</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-671</link>
		<dc:creator>taraktas</dc:creator>
		<pubDate>Mon, 15 Mar 2010 14:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-671</guid>
		<description>For professional support about server side, just visit www.ns4app.com</description>
		<content:encoded><![CDATA[<p>For professional support about server side, just visit <a href="http://www.ns4app.com" rel="nofollow">http://www.ns4app.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Firat</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-613</link>
		<dc:creator>Firat</dc:creator>
		<pubDate>Wed, 03 Mar 2010 13:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-613</guid>
		<description>Also there is an integration server tool for APNS called NS4app. You should check www.ns4app.com
Fastest messaging engine is the major feature of NS4app .</description>
		<content:encoded><![CDATA[<p>Also there is an integration server tool for APNS called NS4app. You should check <a href="http://www.ns4app.com" rel="nofollow">http://www.ns4app.com</a><br />
Fastest messaging engine is the major feature of NS4app .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinivasan</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-607</link>
		<dc:creator>srinivasan</dc:creator>
		<pubDate>Mon, 01 Feb 2010 05:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-607</guid>
		<description>Hi Anish,

The code was very use full to me

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>The code was very use full to me</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-603</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-603</guid>
		<description>In case you appreciate constructive criticism, the font you use on this website is awful.  The character width is too small to begin with, plus the kerning is too tight.  I could use the info in this article, but in stead of straining my eyes to discover what I&#039;m looking for, I&#039;ll leave my opinion and move on.</description>
		<content:encoded><![CDATA[<p>In case you appreciate constructive criticism, the font you use on this website is awful.  The character width is too small to begin with, plus the kerning is too tight.  I could use the info in this article, but in stead of straining my eyes to discover what I&#8217;m looking for, I&#8217;ll leave my opinion and move on.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
