<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thanks. I got a test SSL cert from a trusted authority and gave
up trying to use a self signed one. I am on to other things now.
<br>
</p>
<div class="moz-signature"><br>
<table rules="none" border="0">
<tbody>
<tr>
<td><font size="-1">Christopher Fahey<br>
DealerRewards, Inc.<br>
Maryland Branch Office<br>
(410) 924-3185<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 class="moz-cite-prefix">On 8/16/2016 11:36 AM, Summers Pittman
wrote:<br>
</div>
<blockquote
cite="mid:CAEQz2CuuogpzgS_XqzgY4BjVXG8srfeYLBLCuUz2pA2E2MCoVA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:Aerogear-users@lists.jboss.org"
target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a>
</pre>
</blockquote>
</div>
______________________________<wbr>_________________
Aerogear-users mailing list
<a moz-do-not-send="true" href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a>
</blockquote></div>
</div></div>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">_______________________________________________
Aerogear-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-users">https://lists.jboss.org/mailman/listinfo/aerogear-users</a>
</pre>
</blockquote>
</body></html>