SSL expiration date issue

Website URL

Not applicable

Error Message

For some reason, the client area tells me that one of my certificate is due in -1.84… days

While it should be positive 1 day.

Other Information

Only expiring certificates show the countdown so I cannot check whether this is always the case.

probably a bug i think

1 Like

What a wonderfully strange bug haha.

As long as the certificate hasn’t broken. Although if it was me I’d just delete that certificate and get a new one. But it’s really your call

3 Likes

Yes, apparently the diffInDays function works different than I had expected. It should be a positive whole number. It being a floating point is just me not paying attention to the docs, but it being a negative number when applied to a date in the future makes no sense to me.

A fix is on it’s way though.

10 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.