1. Check out our companion app, Forums for Android! Download from Google Play

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

Discussion in 'Application Development' started by jfisher446, Feb 5, 2010.

  1. jfisher446

    jfisher446 New Member
    Thread Starter

    Feb 5, 2010
    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