Bundle de certificados para o curl

#1

Olá,

Ao usar o curl com ssl na labrador com software Kernel4_v0.10, aparece o seguinte erro:

$ curl --verbose https://curl.haxx.se/docs/sslcerts.html
(... logs truncados ...)
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Para resolver eu baixei um bundle de certificados do site do curl e apontei manualmente a variável CURL_CA_BUNDLE para o bundle baixado:

wget https://curl.haxx.se/ca/cacert-2019-08-28.pem
sudo cp cacert-2019-08-28.pem /usr/local/share/ca-certificates/
export CURL_CA_BUNDLE=/usr/local/share/ca-certificates/cacert-2019-08-28.pem

@edgar.righi, seria útil incorporar esta configuração, ou semelhante, nas próximas imagens da Labrador.

Abs,
Geovane.