2. Configuration and security
Everything is set from the module's configuration page (menu Configuration > Modules > Signature terminal KSI), organised into tabs. The General tab brings together the security settings and the default values.
- Enable or disable terminal access (API), and enforce a secure HTTPS connection (recommended in production).
- Require a security signature (HMAC) on exchanges with the terminal, with an adjustable time tolerance.
- Set how long pairing codes remain valid (in minutes) and how often the terminal polls Dolibarr (in seconds).
- Define the minimum number of stroke points for a signature to be accepted (prevents empty signatures).
- Enter a default place of approval (e.g. "Garage KSI, Arras") and decide whether the T&C are requested by default.
- The tab also shows the exact values to enter into the terminal (Dolibarr address, endpoint addresses) to make installation easier.