Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sécurisation de l'inventaire #11

Open
AntoninGP opened this issue May 1, 2023 · 2 comments
Open

Sécurisation de l'inventaire #11

AntoninGP opened this issue May 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@AntoninGP
Copy link
Member

Il faudrait compléter le couple utilisateur/mot de passe du serveur Apache avec la gestion de certificats, afin de sécuriser la remontée des inventaires vers le serveur.

user

_Specifies the user to use for HTTP authentication on the server._

password

_Specifies the password to use for HTTP authentication on the server._

ca-cert-dir

_Specifies the directory containing indexed Certification Authority (CA) certificates.

This directory must contain the certificate files corresponding to different certificate authorities in Privacy Enhanced Mail (PEM) format. The file name of each certificate file must match the hash value of the certificate's subject field and use the .0 extension.

You can obtain the hash value of the certificate's subject field and copy the CA.crt certificate to the expected place following this snippet:

$ CA_CERT_DIR=/etc/glpi-agent/ca-cert-dir
$ openssl x509 -in CA.crt -subject_hash -noout
b760f1ce
* cp -a CA.crt $CA_CERT_DIR/b760f1ce.0_

ca-cert-file

_Specifies the file containing aggregated Certification Authority (CA) certificates._

ssl-cert-file

_Specifies the file containing SSL client certificate to use when connecting to server target or for WinRM remote inventory._

ssl-fingerprint (Available since GLPI Agent v1.3)

_Specifies the fingerprint of the ssl server certificate to trust.

The fingerprint to use can be retrieved in agent log by temporarily enabling no-ssl-check option._
@AntoninGP AntoninGP added the enhancement New feature or request label May 1, 2023
@AntoninGP AntoninGP added this to the 3.0 milestone May 1, 2023
@AntoninGP AntoninGP added the good first issue Good for newcomers label Oct 5, 2023
@AntoninGP
Copy link
Member Author

AntoninGP commented Oct 5, 2023

Attention, avec authentification via AUTHBASIC, impossible d'afficher une page sur le front GLPI faisant appel au plugin inventory
résolution -> https://forum.glpi-project.org/viewtopic.php?id=158461

@AntoninGP
Copy link
Member Author

Attention, avec authentification via AUTHBASIC, impossible d'afficher une page sur le front GLPI faisant appel au plugin inventory résolution -> https://forum.glpi-project.org/viewtopic.php?id=158461

Solution : combo AUTHBASIC et filtrage USERAGENT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants