I think that site must be using a self-signed certificate, or is using a
certificate that is not signed by a "standard" certificate authority that's
pre-shipped with the http client libs.

There's a way to plugin a custom SSLSocketFactory that should allow you to
circumvent the issue:

https://github.com/couchbase/couchbase-lite-android/wiki/FAQ-Android#q-how-can-i-connect-to-a-sync-gateway-via-https-which-does-not-have-an-ssl-cert-signed-by-a-root-authority




On Fri, Apr 4, 2014 at 7:24 AM, Anna <[email protected]> wrote:

> No, no problems on the web, no security alert.
>
> Den fredagen den 4:e april 2014 kl. 16:22:31 UTC+2 skrev Jens Alfke:
>
>>
>> On Apr 4, 2014, at 12:56 AM, Anna <[email protected]> wrote:
>>
>> Is there any I can resolve this? or what could be a cause for that?
>>
>>
>> I don't know the details, but since the exception is 
>> "javax.net.ssl.SSLPeerUnverifiedException:
>> No peer certificate", it sounds like the server doesn't have a valid SSL
>> certificate.
>>
>> If you access the server's URL using a web browser, do you get a security
>> alert?
>>
>> --Jens
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/94a5f613-439f-46b3-974b-d31c393400b2%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/94a5f613-439f-46b3-974b-d31c393400b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCE5jBqtPMg7F%3D2T2Q5DsXwzyji6JSw62cjSZ-ZaKybDXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to