<?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>Fri, 16 Sep 2011 05:43:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mokra</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-760</link>
		<dc:creator>mokra</dc:creator>
		<pubDate>Fri, 16 Sep 2011 05:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-760</guid>
		<description>I &#039;am not understand this article post . very complicated to explain</description>
		<content:encoded><![CDATA[<p>I &#8216;am not understand this article post . very complicated to explain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujay</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-756</link>
		<dc:creator>Sujay</dc:creator>
		<pubDate>Tue, 05 Jul 2011 09:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-756</guid>
		<description>When i test Push Notification with apn_development_cer, it works with the loaded app on the iPhone device from Xcode.

But, when i am downloading the same application from App Store or with the Ad Hoc Distribution on the same iPhone device from Xcode, it just stops sending Push Notification with apn_production_cer.

For the sandbox environment, we are using gateway.sandbox.push.apple.com where is works perfectly. However, for production environment, we are using gateway.push.apple.com, port 2195. We have also made sure port 2195 is not blocked by firewall

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>When i test Push Notification with apn_development_cer, it works with the loaded app on the iPhone device from Xcode.</p>
<p>But, when i am downloading the same application from App Store or with the Ad Hoc Distribution on the same iPhone device from Xcode, it just stops sending Push Notification with apn_production_cer.</p>
<p>For the sandbox environment, we are using gateway.sandbox.push.apple.com where is works perfectly. However, for production environment, we are using gateway.push.apple.com, port 2195. We have also made sure port 2195 is not blocked by firewall</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jarnail</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-755</link>
		<dc:creator>Jarnail</dc:creator>
		<pubDate>Fri, 24 Jun 2011 06:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-755</guid>
		<description>Hi
 I have SSL installed on site and it is displaying error :
 Failed to connect 0

SSL installed, ports 2195, 2196 is also opened on the server. but getting the same error. Please guide me if some one has fixed the problem.

Thanks in advance.
- Jarnail</description>
		<content:encoded><![CDATA[<p>Hi<br />
 I have SSL installed on site and it is displaying error :<br />
 Failed to connect 0</p>
<p>SSL installed, ports 2195, 2196 is also opened on the server. but getting the same error. Please guide me if some one has fixed the problem.</p>
<p>Thanks in advance.<br />
- Jarnail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wangjing</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-753</link>
		<dc:creator>wangjing</dc:creator>
		<pubDate>Mon, 09 May 2011 02:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-753</guid>
		<description>Hi:
i could not connect gateway.sandbox.push.apple.com 2195 on both windows and mac os, the info appears that connection timed out. and the codes is down from Cocoa China forum.
Is there any thing wrong with my network? how can i deal with it ?</description>
		<content:encoded><![CDATA[<p>Hi:<br />
i could not connect gateway.sandbox.push.apple.com 2195 on both windows and mac os, the info appears that connection timed out. and the codes is down from Cocoa China forum.<br />
Is there any thing wrong with my network? how can i deal with it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Shah</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-750</link>
		<dc:creator>Akshay Shah</dc:creator>
		<pubDate>Mon, 21 Mar 2011 08:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-750</guid>
		<description>Hi,

Any updates on notifications not received during call on iPhone?

Thanks,
Akshay</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Any updates on notifications not received during call on iPhone?</p>
<p>Thanks,<br />
Akshay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaibhav</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-749</link>
		<dc:creator>Vaibhav</dc:creator>
		<pubDate>Wed, 23 Feb 2011 10:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-749</guid>
		<description>Hello,

This is a very nice article. Just one problem i am facing. this script works fine if i use this manually from web-browser and it sends all the notifications for a same time. but when request comes via an iPhone for location wise notifications it only sends 2 notifications if there are more than two notifications for the same time.

any idea; why it is happening?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>This is a very nice article. Just one problem i am facing. this script works fine if i use this manually from web-browser and it sends all the notifications for a same time. but when request comes via an iPhone for location wise notifications it only sends 2 notifications if there are more than two notifications for the same time.</p>
<p>any idea; why it is happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-746</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Sat, 04 Dec 2010 11:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-746</guid>
		<description>Very nice article.. thanks for the info.
Are there any differences from today&#039;s push?</description>
		<content:encoded><![CDATA[<p>Very nice article.. thanks for the info.<br />
Are there any differences from today&#8217;s push?</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-745</link>
		<dc:creator>Anish Kumar</dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-745</guid>
		<description>check this post on my blog which also talks about how to create a certificate for linux or on mac thru command line...
http://www.macoscoders.com/2009/07/22/enable-https-on-apache-running-on-a-leopard/

hope it helps u,
-Anish</description>
		<content:encoded><![CDATA[<p>check this post on my blog which also talks about how to create a certificate for linux or on mac thru command line&#8230;<br />
<a href="http://www.macoscoders.com/2009/07/22/enable-https-on-apache-running-on-a-leopard/" rel="nofollow">http://www.macoscoders.com/2009/07/22/enable-https-on-apache-running-on-a-leopard/</a></p>
<p>hope it helps u,<br />
-Anish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-744</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-744</guid>
		<description>Hi Anish,

I came across your blog and it awesome.

While executing the apns.php in the local server, it works fine and i got push notification to device with sound. But when i try to execute the same php file with certificate in the client server, it gives the following error.

Warning: stream_socket_client() [function.stream-socket-client]: Unable to set local cert chain file `apns-dev.pem&#039;; Check that your cafile/capath settings include details of your certificate and its issuer in /var/www/pushv2/apns.php on line 26

Warning: stream_socket_client() [function.stream-socket-client]: failed to create an SSL handle in /var/www/pushv2/apns.php on line 26

Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /var/www/pushv2/apns.php on line 26

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 (Unknown error) in /var/www/pushv2/apns.php on line 26
Failed to connect 0 

In the above comments, it says that

&quot;We need to generate the separate certificate for linux server. &quot;

So how can i generate the certificate from the server. explain in steps or give some reference link.Looking forward for your reply soon.

Please advice me on this.</description>
		<content:encoded><![CDATA[<p>Hi Anish,</p>
<p>I came across your blog and it awesome.</p>
<p>While executing the apns.php in the local server, it works fine and i got push notification to device with sound. But when i try to execute the same php file with certificate in the client server, it gives the following error.</p>
<p>Warning: stream_socket_client() [function.stream-socket-client]: Unable to set local cert chain file `apns-dev.pem&#8217;; Check that your cafile/capath settings include details of your certificate and its issuer in /var/www/pushv2/apns.php on line 26</p>
<p>Warning: stream_socket_client() [function.stream-socket-client]: failed to create an SSL handle in /var/www/pushv2/apns.php on line 26</p>
<p>Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in /var/www/pushv2/apns.php on line 26</p>
<p>Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 (Unknown error) in /var/www/pushv2/apns.php on line 26<br />
Failed to connect 0 </p>
<p>In the above comments, it says that</p>
<p>&#8220;We need to generate the separate certificate for linux server. &#8221;</p>
<p>So how can i generate the certificate from the server. explain in steps or give some reference link.Looking forward for your reply soon.</p>
<p>Please advice me on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaxita shah</title>
		<link>http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/#comment-743</link>
		<dc:creator>yaxita shah</dc:creator>
		<pubDate>Sat, 30 Oct 2010 12:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.macoscoders.com/?p=191#comment-743</guid>
		<description>hi, 
     i am working for apns. i hv opened d port 2195, hv checked for ssl configuration also. and my certificate is generated on d same server on which my php scripts are. when i am running my code it is showing no errors.....n shows connection ok..... but am not able to get notification in iphone device........

         i dnt know whr i am wrong......please help me. ....thanks in advance..............

yaxita</description>
		<content:encoded><![CDATA[<p>hi,<br />
     i am working for apns. i hv opened d port 2195, hv checked for ssl configuration also. and my certificate is generated on d same server on which my php scripts are. when i am running my code it is showing no errors&#8230;..n shows connection ok&#8230;.. but am not able to get notification in iphone device&#8230;&#8230;..</p>
<p>         i dnt know whr i am wrong&#8230;&#8230;please help me. &#8230;.thanks in advance&#8230;&#8230;&#8230;&#8230;..</p>
<p>yaxita</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-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>
</channel>
</rss>
array(0) {
}

