Giter VIP home page Giter VIP logo

Comments (4)

StCyr avatar StCyr commented on June 10, 2024

OK, you may close this issue.

The problem is twofold:

  1. I had not added the (self-signed) certificate of the root certification authority (in my case C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert Assured ID Root CA)
  2. (Guessed) Differences of implementation of libcurl on Windows/OpenSSL and Linux/GNUTLS

Because of the 2nd issue, issuing such a command on Windows fails (as it should do) if you don't provide the (self-signed) certificate of the root certification authority in the cacert.pem file:

curl -v --capath c:\temp --cacert "C:\ProgramData\OCS Inventory NG\Agent\cacert.pem" https://ocs-server.mycompany.be

while the corresponding command on linux works (though, it shouldn't in my opinion):

curl -v --capath /dev/null --cacert /var/lib/ocsinventory-agent/https\:__ocs-server.mycompany.be_ocsinventory/cacert.pem https://ocs-server.mycompany.be

Because, purportedly, in the later case, libcurl still uses the default /etc/ssl/certs folder and finds there the root CA certificate.

I'll rather open a bug against curl

from windowsagent.

gillesdubois avatar gillesdubois commented on June 10, 2024

Hi,

Our agents are using the libraires without any modifications ...
Maybe we need to upgrade our curl version to solve this problem ? ( atm the windows agent is using the 7.47 version )

Regards,
Gilles Dubois.

from windowsagent.

StCyr avatar StCyr commented on June 10, 2024

from windowsagent.

charleneauger avatar charleneauger commented on June 10, 2024

Hi @StCyr ,
curl librarie has been updated on last Windows Agent versions.

Regards,
Charlene Auger

from windowsagent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.