Hi,

Has anyone had any success getting an https connection to work with a
self-signed certificate? I tried the method posted here from last
year:

  
http://groups.google.com/group/android-developers/browse_thread/thread/4f4a43afb38dd349/dedb6f2f3fb376f9?lnk=gst&q=ssl#dedb6f2f3fb376f9

but it does not seem to work. I'm just getting a connection refused
exception any time I hit a site with a self-signed cert, even though
I'm supplying my own HostnameVerifier (and allowing anything to pass).

The only other doc I see mentioning this is
SSLCertificateSocketFactory:

  
http://developer.android.com/reference/android/net/SSLCertificateSocketFactory.html

"You can skip the ssl certificate checking at runtime by setting
socket.relaxsslcheck=yes on devices that do not have have ro.secure
set."

but am not having luck through that route either,

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to