Comments (4)
OK, you may close this issue.
The problem is twofold:
- 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
) - (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.
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.
from windowsagent.
Hi @StCyr ,
curl librarie has been updated on last Windows Agent versions.
Regards,
Charlene Auger
from windowsagent.
Related Issues (20)
- Few installed app are not detected by OCS Agent HOT 2
- Faux positif au sujet de logiciels installé HOT 2
- Store file/folder => le fichier arrive sur le client avec l'attribut 'Caché' (Hidden) dans le répertoire de destination HOT 4
- WOL doesn't work HOT 1
- Agent Windows 2.10.0.0 - 32 bits version not released HOT 3
- Impossible de démarrer le programme car il manque api-ms-win-crt-heap-l1-1-0.dll HOT 6
- 64 Bit OCS Agent not working because of Saas.ps1 HOT 2
- Systray icon showed when using /no_systray HOT 4
- CA certificate on different drive does not work HOT 2
- How to manually create the .xml file for the inventory? HOT 1
- Simple user can't see anymore inventory from systray- bad permission HOT 1
- Agent Windows 2.10.1.0 causes duplicate entries (lowercase and uppercase) HOT 7
- Adaptation of the plugin 'Saas.ps1' (Web application Inventory) for German clients
- OCS Agent dectectinf Windows 10 as Windows 8
- My OCS Inventory Console shows the same computer more than one time HOT 1
- Windows Agent service throw error and can't make inventory
- [Request] add option to scan users installed programs
- ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500> HOT 6
- OCS Windows Agent 2.10.1.0 x86 keeps crashing
- Software installed from Microsoft Store is not retrieved HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowsagent.