Comm.makeWebRequest problem with https

Former Member
Former Member
I am developing an app that communicates with a web service.

Comm.makeWebRequest(requestURL, params, options, method(:onReceive));

Everything is great, except when calling webservice methods with https it does not work on a PHYSICAL DEVICE. It works with https in simulator, and with http endpoints also on device.

Note, my web service endpoint SSL certificate is a self signed certificate.

I did not read anywhere self signed cert is restricted. What do I miss? Or what can be the problem?

My app uses Connect mobile app for internet connection, I test it on IOS.
  • I had the same problem and I could only solve it by using non-self-signed certificates. I did not figure out how to make "Comm.makeWebRequest" accept self-signed certificates.

    So in my eyes, your only option is to use "proper" certificates. I used www.sslforfree.com to get these.

    Regards,
    Florian
  • Former Member
    Former Member
    I had the same problem and I could only solve it by using non-self-signed certificates. I did not figure out how to make "Comm.makeWebRequest" accept self-signed certificates.

    So in my eyes, your only option is to use "proper" certificates. I used www.sslforfree.com to get these.

    Regards,
    Florian


    Thanks very much!

    Very sad news anyway, this time I don't use domains, just IP.
  • Former Member
    Former Member
    Hey Everyone,

    I'm not 100% sure that this is a bug, but I've created a ticket to investigate and will bring it up with the team to confirm or prioritize.

    Thanks,
    -Coleman
  • Former Member
    Former Member
    Hey Everyone,

    I'm not 100% sure that this is a bug, but I've created a ticket to investigate and will bring it up with the team to confirm or prioritize.

    Thanks,
    -Coleman


    Thank you very much, waiting for their reply.

    If you need, I can provide you a webservice address with a test account where you can reproduce the problem.
    Please feel free to contact me at [email][email protected][/email] e-mal address.
  • Former Member
    Former Member
    Dear Coleman,

    do U have any info about it?

    Thanks very much!
  • Former Member
    Former Member
    Alright,

    I was able to search for an update here. It looks like due to dropping support outside of Garmin we will not be able to use self-signed certificates moving forward. This is not a bug, but we are working on updating the appropriate documentation to better communicate this.

    Thanks for your patience and understanding,

    -Coleman
  • Coleman,

    any update on this?  i.e., can you install a self-signed certificate on your android device and have Garmin connect successfully do web requests from the server that uses that certificate? same question on iOS?