Architecture
The store queries the service on the Optima server, and the service reads the SQL database and replies. Each of the two programs checks its licence separately on the SISL server.
Topology
The store always initiates the connection. The service never sends anything to Magento on its own and never writes anything to the Optima database.
Communication
Every request to /v1/* carries a timestamp and an HMAC-SHA256 signature computed with a shared secret. A clock difference of more than 300 seconds or a wrong signature results in a 401 response. HMAC protects against impersonation but does not encrypt, so the connection should run over a private network, a VPN or Tailscale.
Large lists are sent in batches. The store reads documents and contractors from a cursor, that is, from the time of the last change it has already seen.
Security
- The service runs under a separate virtual account and has only the
db_datareaderrole in the database. - The secrets file is readable only by administrators and the service account.
- Licence server responses are signed with Ed25519, and the private key exists only on the SISL side.
- A nonce in the request and the response prevents an old response from being replayed.
- Store and Optima data do not pass through SISL servers. The licence server receives the key, the host name and the version.
Next step: Installation →