Project

General

Profile

Actions

Feature #14112

closed

Allow user to trigger license re-sync and/or reset in system_register.php

Added by M Felden about 1 year ago. Updated about 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default

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

Something along those lines

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

pfsdev2.png (100 KB) pfsdev2.png Something along those lines M Felden, 03/14/2023 08:40 PM
Actions #1

Updated by Jim Pingle about 1 year ago

  • Status changed from New to Duplicate

We already have an internal issue for this.

Actions

Also available in: Atom PDF