You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you generate a certificate for 7500 days (~20 years) using a PacketFence PKI template, frontend doesn't display correctly resulting date even if certificate contains correct date.
I assume this is because date is after 2038.
To Reproduce
Steps to reproduce the behavior:
Create a CA in PacketFence PKI
Create a template with 7500 days as Validity
Generate a certificate using template
Screenshots
Expected behavior
Resulting date should be display.
Additional context
Even if it's only a display issue, you're not sure your certificate is valid. You have to download it and verify by hand if date is correct which is painful.
5000 days works.
The text was updated successfully, but these errors were encountered:
The date in the db is stored as zero (valid_until: 0000-00-00 00:00:00) it looks to be an issue with the version of golang we are using (golang/go#36654)
After talking to the team , we will probably need to limit the validity of a certificate to a maximum of 825 days (https://support.apple.com/en-ca/HT210176). @satkunas is it possible to limit the validity field in the form (CA and profile) ?
Describe the bug
If you generate a certificate for 7500 days (~20 years) using a PacketFence PKI template, frontend doesn't display correctly resulting date even if certificate contains correct date.
I assume this is because date is after 2038.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
Resulting date should be display.
Additional context
Even if it's only a display issue, you're not sure your certificate is valid. You have to download it and verify by hand if date is correct which is painful.
5000 days works.
The text was updated successfully, but these errors were encountered: