Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Lib/test: produce test certificates that expire far in the future by …
…default

This allows testing Y2038 with system time set to after that,
so that actual Y2038 issues can be exposed, and not masked
by expired certificate errors.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  • Loading branch information
kanavin committed Oct 7, 2024
commit c3d4d01c9d5d62aa9ebf56fb4cba4315a9cf671a
4 changes: 2 additions & 2 deletions Lib/test/certdata/make_ssl_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from subprocess import *

startdate = "20180829142316Z"
enddate_default = "20371028142316Z"
days_default = "7000"
enddate_default = "25251028142316Z"
days_default = "140000"

req_template = """
[ default ]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Test certificates have been updated to expire far in the future. This allows
testing Y2038 with system time set to after that, so that actual Y2038
issues can be exposed, and not masked by expired certificate errors.