<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 11:23 AM, Christopher Fahey <span dir="ltr"><<a href="mailto:chris@dealerrewards.net" target="_blank">chris@dealerrewards.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>I am still not getting past this issue. I am using Cordova. Can
someone explain to me the relationship between how the SSL
connection in the AeroGear plugin and the Cordova application
connection are related? I am starting to get the impression that
they are not the same. I have a plugin that replaces the
SystemWebViewClient with an object that overrides the
"onReceivedSslError" function so that when a self signed SSL
certificate is encountered it can be told to allow it however this
function is never being called. <br>
</p>
<p>Can someone please shed some light on this? It sounds like
others have done it but isn't anyone willing to share the secret
on how it is accomplished? <br>
</p>
<p><br></p></div></blockquote><div><br></div><div>Sure, I'll give it a shot.</div><div><br></div><div>Cordova provides an API for exposing native platform APIs to the javascript runtime in a web view. These APIs are called plugins. </div><div><br></div><div>So on Android You call the cordova code which calls a Cordova plugin which calls native Android code. Android native code does NOT like self signed SSL certificates. To use a self signed certificate you need to import that certificate into your emulator or use certificate pinning found in Android N. Alternatively, don't use a self signed certificate. There are several free services you can use to to walk you through setting up a service with a properly signed certificate.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><p>
</p>
<div><br>
<table rules="none" border="0">
<tbody>
<tr>
<td><font size="-1">Christopher Fahey<br>
DealerRewards, Inc.<br>
Maryland Branch Office<br>
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185</a><br>
</font>
</td>
</tr>
<tr>
<td colspan="2">
<font size="-1">
<hr>
This electronic message transmission contains
information from DealerRewards Inc. This message is
confidential. It may also be privileged or otherwise
protected by work-product immunity or other legal rules.
If you have received it by mistake, please let us know
by email reply and delete it from your system; you may
not copy this message or disclose its contents to
anyone.<br>
DISCLAIMER: Since 2006, the U.S. Government has been
monitoring all internet communications. If you have
information that you do not wish to have monitored,
please send it using regular postal services to the
address listed on our website.
<hr>
</font>
</td>
</tr>
</tbody>
</table>
</div>
<div>On 7/21/2016 1:45 PM, Summers Pittman
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Sorry, hit reply a bit faster than I meant to.
<div><br>
</div>
<div>You can also use <a href="https://www.openshift.com/" target="_blank">https://www.openshift.com/</a>
to host an instance of the push server, run the push server on
port 8080, set up your own DNS configuration and add the
signing certificate to Android's certificate store.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 21, 2016 at 1:42 PM,
Summers Pittman <span dir="ltr"><<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I used Android N and pin a certificate.
<div><br>
</div>
<div><a href="https://blog.sagaoftherealms.net/?p=578" target="_blank">https://blog.sagaoftherealms.<wbr>net/?p=578</a><br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>On Thu, Jul 21, 2016 at 12:52 PM,
Christopher Fahey <span dir="ltr"><<a href="mailto:chris@dealerrewards.net" target="_blank">chris@dealerrewards.net</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div bgcolor="#FFFFFF" text="#000000">
<p>Finally have it running! Not even sure what
I did. Now I am running into an SSL
certificate error. It seems that android has
a self-signed certificate acceptance issue in
the device when using SSL to accept notices.
What is everyone else using when connecting
with SSL? Is anyone using a Trust Manager?<span><font color="#888888"><br>
</font></span></p>
<span><font color="#888888">
<div><br>
<table rules="none" border="0">
<tbody>
<tr>
<td><font size="-1">Christopher
Fahey<br>
DealerRewards, Inc.<br>
Maryland Branch Office<br>
<a href="tel:%28410%29%20924-3185" value="+14109243185" target="_blank">(410) 924-3185</a><br>
</font> </td>
</tr>
<tr>
<td colspan="2"> <font size="-1">
<hr> This electronic message
transmission contains
information from DealerRewards
Inc. This message is
confidential. It may also be
privileged or otherwise
protected by work-product
immunity or other legal rules.
If you have received it by
mistake, please let us know by
email reply and delete it from
your system; you may not copy
this message or disclose its
contents to anyone.<br>
DISCLAIMER: Since 2006, the U.S.
Government has been monitoring
all internet communications. If
you have information that you do
not wish to have monitored,
please send it using regular
postal services to the address
listed on our website.
<hr> </font> </td>
</tr>
</tbody>
</table>
</div>
<br>
</font></span></div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________<wbr>_________________
Aerogear-users mailing list
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
<br></blockquote></div><br></div></div>