<div dir="ltr">No, just a certificate, like described here:<div><a href="https://aerogear.org/docs/unifiedpush/aerogear-push-ios/" target="_blank">https://aerogear.org/docs/unifiedpush/aerogear-push-ios/</a><br></div><div><br></div><div>1. Apple App ID and SSL Certificate for APNs<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 29, 2015 at 5:55 AM, Sekar, Harini <span dir="ltr">&lt;<a href="mailto:harini.sekar@rntbci.com" target="_blank">harini.sekar@rntbci.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-IN" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Do you require any ssl trusted certificate for aerogear ?<u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks &amp; Regards<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Harini S <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p></span><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a> [mailto:<a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a>] <b>On Behalf Of </b>Matthias Wessendorf<br><b>Sent:</b> 28 January 2015 PM 04:51</span></p><div><div class="h5"><br><b>To:</b> Sekar, Harini<br><b>Cc:</b> AeroGear Developer Mailing List<br><b>Subject:</b> Re: iOS push error<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">You are saying you are not getting push notifications delivered, even after a reboot? I think there is something wrong with the certificate&#39;s .p12 file.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Do you have it locally ? If so, can you run a standalone test, using this Java lib:<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://github.com/notnoop/java-apns" target="_blank">https://github.com/notnoop/java-apns</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">1) get the APNs Servce:<u></u><u></u></p></div><div><div><p class="MsoNormal">ApnsService service =<u></u><u></u></p></div><div><p class="MsoNormal">    APNS.newService()<u></u><u></u></p></div><div><p class="MsoNormal">    .withCert(&quot;/path/to/certificate.p12&quot;, &quot;MyCertPassword&quot;)<u></u><u></u></p></div><div><p class="MsoNormal">    .withProductionDestination()   // you said you are using production - right ? otherwise it&#39;s Sandbox....<u></u><u></u></p></div><div><p class="MsoNormal">    .build();<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">2) get a token from the UI, ideally your own device, and send a push:<u></u><u></u></p></div><div><div><p class="MsoNormal">String payload = APNS.newPayload().alertBody(&quot;Test test test&quot;).build();<u></u><u></u></p></div><div><p class="MsoNormal">String token = &quot;your token goes here&quot;;<u></u><u></u></p></div><div><p class="MsoNormal">service.push(token, payload);<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">That would help to isolate the issue.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">BTW. what version of the UPS are you running ? <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Jan 28, 2015 at 11:22 AM, Sekar, Harini &lt;<a href="mailto:harini.sekar@rntbci.com" target="_blank">harini.sekar@rntbci.com</a>&gt; wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Matthias ,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Have attached the screenshots of the problem I am facing.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It was working till last Thursday (23/01/2015) and I was able to receive the notification too, later it started throwing this error.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Kindly help me in sorting out this issue.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><img border="0" width="1030" height="364" src="cid:image001.jpg@01D03BAD.DC091C70"></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><img border="0" width="603" height="155" src="cid:image002.jpg@01D03BAD.DC091C70"></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><img border="0" width="644" height="255" src="cid:image003.jpg@01D03BAD.DC091C70"></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks &amp; Regards,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Harini S</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a> [mailto:<a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a>] <b>On Behalf Of </b>Matthias Wessendorf<br><b>Sent:</b> 28 January 2015 PM 01:21<br><b>To:</b> Sekar, Harini<br><b>Cc:</b> AeroGear Developer Mailing List<br><b>Subject:</b> Re: iOS push error</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hi Harini,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">&gt; <span style="font-size:11.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> Yes , but still that warning is there.</span><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">we do not (yet) clean up the warning, after the problem has been solved, however we plan to do so (see <a href="https://issues.jboss.org/browse/AGPUSH-1248" target="_blank">https://issues.jboss.org/browse/AGPUSH-1248</a>)<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">That said - does the push go through? Do you get a notification ? The warning itself is has a specific date (click on activity link to go to details).<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Here is an older error (on my test instance):<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://www.dropbox.com/s/nlrr9kd5dkfuae1/Screen%20Shot%202015-01-28%20at%2008.49.44.png?dl=0" target="_blank">https://www.dropbox.com/s/nlrr9kd5dkfuae1/Screen%20Shot%202015-01-28%20at%2008.49.44.png?dl=0</a><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">That error occured only on Jan 6th, but as said above, we do not yet clean that up<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">-Matthias<u></u><u></u></p></div></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Wed, Jan 28, 2015 at 4:23 AM, Sekar, Harini &lt;<a href="mailto:harini.sekar@rntbci.com" target="_blank">harini.sekar@rntbci.com</a>&gt; wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It was working fine for one day. After that it started throwing the error.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I am using free  version of Openshit in this it doesn’t support custom ssl is this may be a problem ?</span><u></u><u></u></p><p><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d">·</span><span style="font-size:7.0pt;color:#1f497d">         </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Did you upload the correct .p12 file for the iOS variant? -  Yes</span><u></u><u></u></p><p><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d">·</span><span style="font-size:7.0pt;color:#1f497d">         </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Or did you replace a development cert with a production cert ? – No I am using oly production cert</span><u></u><u></u></p><p><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d">·</span><span style="font-size:7.0pt;color:#1f497d">         </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Did it work a few days ago? – Yes it worked for only one day</span><u></u><u></u></p><p><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d">·</span><span style="font-size:7.0pt;color:#1f497d">         </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Did you try to reboot</span> <span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">the instance via the openshift UI ? – Yes , but still that warning is there.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks &amp; Regards</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Harini S</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a> [mailto:<a href="mailto:mwessendorf@gmail.com" target="_blank">mwessendorf@gmail.com</a>] <b>On Behalf Of </b>Matthias Wessendorf<br><b>Sent:</b> 27 January 2015 PM 06:02<br><b>To:</b> AeroGear Developer Mailing List; Sekar, Harini<br><b>Subject:</b> iOS push error</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hi Harini,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I opened a new thread for this to make it easier to follow up on this subject.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I just tested my Push Server and iOS just worked fine. Here are a few questions:<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">* Did you upload the correct .p12 file for the iOS variant? <u></u><u></u></p></div><div><p class="MsoNormal">* Or did you replace a development cert with a production cert ? <u></u><u></u></p></div><div><p class="MsoNormal">* Did it work a few days ago? <u></u><u></u></p></div><div><p class="MsoNormal">* Did you try to reboot the instance via the openshift UI ?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal">Matthias<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Tue, Jan 27, 2015 at 1:08 PM, Sekar, Harini &lt;<a href="mailto:harini.sekar@rntbci.com" target="_blank">harini.sekar@rntbci.com</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal">Hi guys,<br><br>Have deployed the aerogear in openshit and push notification for IOS is not working<br>Error :<br>reason: Error sending payload to APNs server: sun.security.validator.ValidatorException: No trusted certificate found<br><br>please help me sort this out<br><br>Thanks &amp; Regards<br>Harini S<u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p></div></div></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><u></u><u></u></p></div></div></div></div></div></div></div><p>***********************************************************************************************************<br>CONFIDENTIALITY NOTICE<br><br>This message is for the named person&#39;s use only.  It may contain confidential, proprietary or legally privileged information.<br><br>If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to <a href="mailto:email.security@rntbci.com" target="_blank">email.security@rntbci.com</a> with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. RNTBCI and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks.<br><br>RNTBCI is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection RNTBCI does not accept any liability.<br><br>Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them.<br>***********************************************************************************************************<u></u><u></u></p></div></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><u></u><u></u></p></div></div></div></div></div><div><div><p>***********************************************************************************************************<br>CONFIDENTIALITY NOTICE<br><br>This message is for the named person&#39;s use only.  It may contain confidential, proprietary or legally privileged information.<br><br>If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to <a href="mailto:email.security@rntbci.com" target="_blank">email.security@rntbci.com</a> with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. RNTBCI and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks.<br><br>RNTBCI is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection RNTBCI does not accept any liability.<br><br>Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them.<br>***********************************************************************************************************<u></u><u></u></p></div></div></div></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><u></u><u></u></p></div></div></div></div></div><div><div class="h5"><p>***********************************************************************************************************<br>
CONFIDENTIALITY NOTICE<br>
 <br>
This message is for the named person&#39;s use only.  It may contain confidential, proprietary or legally privileged information.<br>
 <br>
If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to <a href="mailto:email.security@rntbci.com" target="_blank">email.security@rntbci.com</a> with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. RNTBCI and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks.<br>
 <br>
RNTBCI is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection RNTBCI does not accept any liability.<br>
 <br>
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them.<br>
***********************************************************************************************************</p></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>