-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Bug reporting acknowledgment
Yes, I read it
Professional support
I still have but want a public following to keep the community aware
Describe the bug
Hi,
my glpi server is 10.0.18, windows clients report with glpi-agent 1.15. Web server is apache with Let's encrypt certificates.
Most clients report inventory without problems, but a few clients won't report. After increasing log verbosity I noticed the following in agent log on problematic clients:
[error] cannot parse C:/Program Files/GLPI-Agent/var/keystore-export-_7omPu/temp.cer as PEM X509 cert: error:0688010A:asn1 encoding routines::nested asn1 error at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/HTTP/Client.pm line 694 thread 1.
After some troubleshooting I noticed certain certificates in windows certificate store, installed by other application, are the cause. Once these certificates are removed from windows certificate store clients report fine.
I cannot just remove these certificates as they are needed for daily operations of my users. Problematic certificate seems to be root CA of Ministry of Interior of Serbia, used (among others) in application for reading data from chips on citizens' ID cards.
I can provide problematic certificate if needed.
What would be the purpose of glpi-agents' scanning windows certificate stores and exporting certificates? They do not seem to be reported in inventory.
Thank you in advance.
To reproduce
- Install software for reading data from ID cards as instructed on (apparently in Serbian only) on Serbia MUP website.
- Install latest glpi-agent (preferrably with increased verbosity and delaytime) and wait for first report
- Observe error in logs
Expected behavior
glpi-agent shoud report inventory regardless of additional certificates in windows certificate store
Operating system
Windows
GLPI Agent version
v1.15
GLPI version
10.0.18
GLPIInventory plugin or other plugin version
No response
Additional context
No response