cert problem after upgrade from 24.03 to 24.11
-
Just upgraded my netgate 6100 from 24.03 to 24.11. GUI failed to start. Login via SSH found the following issue:
Restarting webConfigurator...Starting webConfigurator...<pre style="white-space: pre-wrap;">PHP ERROR: Type: 1, File: /etc/inc/certs.inc, Line: 110, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/certs.inc:110
Stack trace:
#0 /etc/inc/system.inc(1677): lookup_cert()
#1 /etc/rc.restart_webgui(40): system_webgui_start()
#2 {main}
thrownAny idea what the problem is. Looks like something related to the cert.
-
-
@mpoon said in cert problem after upgrade from 24.03 to 24.11:
Looks like something related to the cert.
Exact.
@mpoon said in cert problem after upgrade from 24.03 to 24.11:
system_webgui_start()
so the cert used by the GUI : this one :
the one you can find here :
Or here, in the config file :
Are your certs still there ?
pfSense was looking for a cert with its ID (called <refid> - see image above) and that refid doesn't exist anymore ( ? ) in the config.xml file ...
-
You're right. The cert the firewall attempted to use is missing. Login SSH, restore the configuration prior to the upgrade. Rebooted back on RELEASE 24.03, Login to the GUI and removed the missing cert ... upgrade from 24.03 to 24.11 again ... and voila, upgrade is successful!!