Each android version has a list of Root certificate authorities it
supports, the specific certificate your server uses is signed by an entity
unknown by android 2.1.
You can either supply that server certificate within your application or
change the server certificate to one recognized by andro
There are multiple options, depending upon how your existing code is
written, and no one here can give you a complete tutorial on that.
There are a few examples out there, if you search for it.
I would also suggest to see the code for K9Mail. It's open source, you
can have a look.
-Kumar Bibek
ht
Hi,
yes I create self signed certificate only..now what
should i do to run the app...?
Thanks in advance,
Gold
On Sep 27, 12:24 am, DanH wrote:
> Not true. Likely, but not certain.
>
> On Sep 26, 1:18 pm, Kostya Vasilyev wrote:
>
> > With the server located at 192.168.1.2 i
Not true. Likely, but not certain.
On Sep 26, 1:18 pm, Kostya Vasilyev wrote:
> With the server located at 192.168.1.2 it most certainly is a
> self-signed certificate.
>
> -- Kostya
>
> 26.09.2010 21:39, DanH пишет:
>
>
>
> > Note that this most likely means that the server's certificate is
>
With the server located at 192.168.1.2 it most certainly is a
self-signed certificate.
-- Kostya
26.09.2010 21:39, DanH пишет:
Note that this most likely means that the server's certificate is
signed by an "authority" that the phone doesn't recognize, because it
doesn't have that "authority'
Note that this most likely means that the server's certificate is
signed by an "authority" that the phone doesn't recognize, because it
doesn't have that "authority's" root certificate installed. It seems
to be a problem with most phones that they only come with a small
subset of the root authorit
Hi,
This means your server is not trusted.
The reason can be that the server certificate is not valid or self-
signed.
Either you have to bypass this by implementing your "own certificate
validation" (I would not do it except if you have no other choices) or
add the server certificate to your key
Here is the way to go.. I have solved the problem using the below
method.
See java.net.ssl.* documentation for better idea.
1. Create a class which implements HostnameVerifier and override the
method verify() such a way it always returns true;
2. Create a class which implements X509TrustManager
I was not able to fix the error the error is still there.
I tried to disable the cretificate verification using the code
from :http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html?
l=rel
// Create a trust manager that does not validate certificate chains
TrustManager[] trustAllCert
Are you using a commercial SSL cert vendor like VeriSign.
If not you need to either disable certficate validation or install the
trust anchor of the SSL cert. I don't have the G1 som I only know how
to do it on the emulator. It wasn't easy BTW since Android does not
use the standard SUN format b
10 matches
Mail list logo