Android Question HttpJob with HTTPS urls

Discussion in 'Android Questions' started by mitobobo, Jul 22, 2015.

  1. mitobobo

    mitobobo Member Licensed User

    Hello everyone :)

    I installed an SSL certificate on my domain, which is great, even though now every HttpJob.PostString fail. I updated the url from to without success.
    The certificate was issued by an SSL Certificate Authority.

    Any idea why? :(

    Thank you very much in advance for your precious help!
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which error do you get? The device probably doesn't recognize your server certificate.

    You can force it to allow all certificates by changing hc.Initialize to hc.InitializeAcceptAll (use the source code of HttpUtis2 instead of the library).
    mitobobo likes this.
  3. mitobobo

    mitobobo Member Licensed User

    You made my day, thank you so much! The problem was that the device didn't accept the certificate.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice