OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: tracerrx on April 18, 2023, 08:25:15 PM

Title: 23.1 Fresh Install - Restored Backup - Broken Security Certificates
Post by: tracerrx on April 18, 2023, 08:25:15 PM
I had to re-install opnsense due to a hardware failure.  I installed using the opnsense 23.1 Serial img.  All went well and I restored my previous backup.  Once again everything appears to be working, but when I attempt to update or re-install missing plugins I get errors that the security certificates don't match.   Does anyone know how to fix this?

***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.1 at Tue Apr 18 14:15:51 EDT 2023
Fetching changelog information, please wait... No trusted certificates found.
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
pkg: No trusted certificates
Unable to update repository OPNsense
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ........ done
Processing entries: .......... done
mimugmail repository update completed. 190 packages processed.
Error updating repositories!
pkg: Repository OPNsense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***
Title: Re: 23.1 Fresh Install - Restored Backup - Broken Security Certificates
Post by: Patrick M. Hausen on April 18, 2023, 08:31:16 PM
Check the time and date of your firewall, first.
Title: Re: 23.1 Fresh Install - Restored Backup - Broken Security Certificates
Post by: tracerrx on April 18, 2023, 08:34:48 PM
Good idea, but date/time is correct
Title: Re: 23.1 Fresh Install - Restored Backup - Broken Security Certificates
Post by: tracerrx on April 18, 2023, 09:05:51 PM
For anyone else having this issue, or future me : )

opnsense-bootstrap -i

Fixed the issue.