Fix GST operator agent localhost HTTPS detection

This commit is contained in:
A R R R Associates
2026-09-11 11:49:47 +05:30
parent 3e660ec0b9
commit 26c998023d
6 changed files with 90 additions and 30 deletions
@@ -1,18 +1,27 @@
ARRR GST Operator Agent 1.0.0
ARRR GST Operator Agent 1.0.1
Purpose
- Runs only on the ERP operator workstation.
- Listens on 127.0.0.1:8791 only.
- Opens installed Chrome/Edge visibly.
- Receives only a short-lived ERP job token from the ERP page.
- Redeems GST username/password directly from ERP Credential Vault over HTTPS.
- Autofills username/password; CAPTCHA/OTP remain manual.
- Downloads selected GST return data and uploads it back to ERP for transfer to the configured Storage Agent.
- Does not provide Tally, Accounting Mirror or client storage services.
- Runs only on the GST operator's Windows workstation.
- Listens only on 127.0.0.1:8791.
- Exposes a trusted local HTTPS endpoint at https://localhost:8791.
- Opens visible Chrome/Edge for GST Portal authentication and return download.
- Autofills the selected Credential Vault username/password supplied through the ERP short-lived job token.
- CAPTCHA/OTP remains interactive with the operator.
- Does not run Tally and does not hold the client storage.
- Completed GST packages continue through the ERP to the already configured Local Storage Agent.
Install
Right-click PowerShell and run:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\install_gst_operator_agent.ps1
1. Extract the downloaded ZIP.
2. Run PowerShell in the extracted ARRR_GST_Operator_Agent folder:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\install_gst_operator_agent.ps1
3. The installer creates a localhost TLS certificate and trusts it only for the current Windows user.
4. Verify https://localhost:8791/api/status.
5. Refresh the ERP GST Return Reconciliation page.
Requirement
Python 3.11 or later and installed Google Chrome or Microsoft Edge.
Upgrade from 1.0.0
- Download the current agent ZIP from ERP and run install_gst_operator_agent.ps1 again.
- The installer stops the old HTTP listener, replaces the runtime, installs the trusted localhost certificate and starts v1.0.1 over HTTPS.
Uninstall
- Run uninstall_gst_operator_agent.ps1 from the installed/downloaded package.
- The installer-created certificate is also removed from the current user's trusted root store.