erlcloud / lhttpc

lhttpc is a lightweight HTTP/1.1 client implemented in Erlang.
Other
1 stars 19 forks source link

make default cacerts connection options #26

Closed zdaniel86 closed 5 months ago

zdaniel86 commented 7 months ago

Problem

Starting from otp 25 the SSL certificate verification is enabled by default. It requires cacerts option to be specified.

Proposal

By default provide cacerts certificates installed in the system

Other issues

aims_local has SSL configured in al_sd2 but doesn't use the proper certificate. So the SSL certificate verification has to be disabled anyway until fixed:

    {lhttpc, [
        {ssl_options, [{verify, verify_none}]}
    ]}