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


  1. jfisher446

    jfisher446 New Member

    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.

    Thanks,
    John

    Advertisement

Share This Page