Bug #9899
closedPHP Error: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /etc/inc/certs.inc on line 1958
100%
Description
Hi.
In latest snapshot there is:
Crash report begins. Anonymous machine information:
amd64
12.0-RELEASE-p10
FreeBSD 12.0-RELEASE-p10 fe839027797(RELENG_2_5) pfSense
Crash report details:
PHP Errors:
[15-Nov-2019 03:01:00 Europe/Berlin] PHP Warning: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /etc/inc/certs.inc on line 1958
[15-Nov-2019 03:01:00 Europe/Berlin] PHP Warning: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /etc/inc/certs.inc on line 1958
No FreeBSD crash data found.
Updated by Jim Pingle about 5 years ago
- Subject changed from PHP error to PHP Error: DateTime::diff() expects parameter 1 to be DateTimeInterface, bool given in /etc/inc/certs.inc on line 1958
- Category set to Certificates
- Assignee set to Jim Pingle
Do you have a CA or certificate in your list which has a missing end date?
If so, do you mind sharing the contents of that certificate? Assuming it does not have any sensitive information in the fields. I would only need to see the certificate itself, not the private key.
Updated by Jim Pingle about 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 1120b85cb2a275de3ffe337c4c3ac781c2ccfb9e.
Updated by Greg M about 5 years ago
Hi.
Confirmed fixed.
Cert expired and it had end date.
Updated by Jim Pingle about 5 years ago
- Status changed from Feedback to Resolved
OK, thanks for testing!