You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-02-26 13:34:05

WebGreg
Member
Registered: 2020-02-27
Posts: 771

vbs and fingerprint

Hi.

SetupVersion = "1.11"
SetupOptions = "/quiet RUNNOW=1 EXECMODE=1 NO_SSL_CHECK=0 SSL_FINGERPRINT='sha256$6f1c78e' HTTPD_TRUST=192.168.12.13 HTTPD_PORT=66551 SERVER=https://server.domain.com/front/inventory.php LOGFILE='C:\GLPI\glpi-agent.log' HTML=1"

Everything works except the fingerprint - after installation, I still have an empty value in the Windows registry.


I also tried with SSL_FINGERPRINT='11' - nothing worked either

Last edited by WebGreg (2025-02-26 13:35:00)


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#2 2025-03-07 20:05:13

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 560
Website

Re: vbs and fingerprint

Hi WebGreg,

your SSL_FINGERPRINT seems wrong. Set no-ssl-check=1 on one computer and check for the right value in agent log on next server contact. Than disable no-ssl-check and set the expected value for ssl-fingerprint.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#3 2025-03-10 10:31:08

WebGreg
Member
Registered: 2020-02-27
Posts: 771

Re: vbs and fingerprint

Hi @gbougard

Don't look at the length - here is an anonymized version. Normally in the script I have the key copied from the log file. However, it seems to me that during installation it should put into the registry every value that is assigned in "SSL_FINGERPRINT" - it simply won't work when connecting. Am I wrong?


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#4 2025-03-10 10:52:42

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 560
Website

Re: vbs and fingerprint

Hi WebGreg,

okay. Did you try to not use comma ? Setting just: SSL_FINGERPRINT=sha256$6f1c78e...

And did you checked the value in registry after installation ?


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#5 2025-03-10 16:20:40

WebGreg
Member
Registered: 2020-02-27
Posts: 771

Re: vbs and fingerprint

I've made some changes since then, and from what I can see, it works fine now. I can only assume that, due to the multitude of different script versions, I was referring to the wrong one for some time.


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB