1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

valid ssl throwing an 'expired ssl' error using http client. workaround?

Last Updated:

  1. jfisher446

    jfisher446 New Member This Topic's Starter

    Feb 5, 2010
    Likes Received:
    I'm trying to connect to a website via httpclient and it keeps throwing an error that says the SSL certificate is not trusted/expired. This happens in the emulator dev environment and on the phone when I visit the site in a browser.

    I can't find any way to work around this but I've seen some information saying that I need to create a fake TrustManager and then basically pass a fake certificate to me httpclient to make it think the site's is valid.

    Anyone have any other suggestions to work around this thing or some detailed information on how I can get the TrustManager thing working as it should as I simply can't figure it out.



Share This Page