Force license resync?
-
We have a 23.05 system that is on pfSense Plus but has a problem: it can't authenticate. Signing keys are likely out of date. There's no GUI way to resync the license.
Is there a command line way to force a license resync with Netgate servers so that our system gets updated certs/keys for authenticating to the update repos?
-
Run:
pfSense-repoc
to pull new client certs.The GUI does that anyway though so you probably have some other issue.
Steve
-
@stephenw10 said in Force license resync?:
Run:
pfSense-repoc
to pull new client certs.The GUI does that anyway though so you probably have some other issue.
Steve
If the GUI did that automatically and properly, then the box in question wouldn't have "Authentication Error" on repository updates per the logs. With this system being a direct-to-internet system, the suggested "troubleshoot" for "Authentication Error" response being "you have a proxy somewhere in line" doesn't apply at this point in the docs.
This seems to be a repeat-offender case since the changes to pfSense PLUS behind the scenes, my guess is signing keys were invalidated but the GUI doesn't actually properly run
pfSense-repoc
when you go to the page, likely because of some difference internally.Additionally, we encountered the bug again in 23.05 which I mentioned privately - the Packages page does not error out on Available Packages when it fails with "Authentication Error" nor does the Upgrades page for available versions, which is a MAJOR bug that we need to make sure is patched in 23.09 or later.
Regardless, running
pfSense-repoc
at the command line seems to have forced a resync of the keys and certs, which worked fine. Both the package list and upgrades' available versions showed updated versions now.Perhaps we should add this to that section. "If you are sure that there is no proxy needed, then try refreshing your client certs by running
pfSense-repoc
" -
Hmm, maybe you have disabled the dashboard upgrade check? If so you would need to visit to update page manually to trigger repoc.
-
@stephenw10 Nah, this is behaving like the previous systems where it just has a loss of its client certs. I visited the page twice on the GUI in 23.05 and it didn't work. Dashboard upgrade check IS in fact present, enabled, but still did authentication errors. So if it did run repoc, it failed hard on the backend and didn't trigger any output.
Which is why I asked how to force the resync manually in case it failed somewhere along the line - forcing it to resync manually fixed the issues it was having.
-
Hmm, interesting. I don't recall there being an issue in 23.05. Still glad you were able to get past it.