AutoWeb Trust/ignore all certificates

Discussion in 'AutoApps' started by virtual, Jun 17, 2020.

  1. virtual

    virtual New Member

    Joined:
    Jul 8, 2018
    Messages:
    19
    Likes Received:
    0
    Hi, I would like to use AutoWeb to post some data to my LaMetric time, locally.
    I'm already using AutoWeb successfully to push the same data over the web, through their public API, but in this case I want to post it only when I'm at home, using the local IP address.
    When I run the action I get the error:

    Error: 1551695710
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.


    This is normal, because even while using curl to push data locally I have to use the -k switch. So my question is: how can I instruct AutoWeb to trust/ignore all certificates on the API call?

    Also, even if not directly related with the topic title, is it possible to use an AutoWeb Default Parameter on the Base URL and avoid the value to be escaped? I wanted to set the endpoint details as parameter (such as "192.168.1.223:9453") but AutoWeb converts the : with %3A every time...
     
  2. virtual

    virtual New Member

    Joined:
    Jul 8, 2018
    Messages:
    19
    Likes Received:
    0
    Hi Joao, do you think this is something that will be possible to implement?
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. Yes, it's a possibility. Sorry for the delay!
     
    virtual likes this.

Share This Page