mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-07-25 21:44:08 +00:00
Renew dir-maxpath certs every 4000 years
The original 10 years have run out. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -8,7 +8,8 @@ set -eu
|
||||
: ${OPENSSL:=openssl}
|
||||
NB=20
|
||||
|
||||
OPT="-days 3653 -sha256"
|
||||
# Good for 4000 years. Good luck if it runs out!
|
||||
OPT="-days 1460970 -sha256"
|
||||
|
||||
# generate self-signed root
|
||||
$OPENSSL ecparam -name prime256v1 -genkey -out 00.key
|
||||
|
||||
Reference in New Issue
Block a user