Feature #14112
closedAllow user to trigger license re-sync and/or reset in system_register.php
0%
Description
There may be a case for adding some buttons in system_register.php that allow the user to 1) Force the existing pfSense plus token to be re-synced with the back-end for the current NDI and 2) Wipe the registration status on the current NDI so that the "Activation token" input box is unlocked and a new token can be entered.
What drove me to request this:
Backend was recently down or changed. During that time the token on an NDI expired.
Now the NDI cannot perform pfSense-upgrade or pkg actiong. Even pfSense-upgrade -c fails.
I confirmed with Steve W that the NDI's upgrade token is over 365 days old and shows as expired on Netgate back-end.
At the same time the device thinks it is all good. system_register.php says the device is registered. Token input box is greyed out.
I propose something along the lines of the attached pfsdev2.png
Back-end needs some rate limiting mechanism to prevent me from DDOSing by curling the endpoint with bogus requests and forcing 20000 certs to be minted.
Files