mirror of
https://abf.rosa.ru/djam/kernel-keys.git
synced 2025-02-23 16:42:51 +00:00
Fix valid till date
$ openssl x509 -enddate -noout -in full_key0.pem notAfter=Sep 6 16:04:17 2319 GMT
This commit is contained in:
parent
8cbe5dd96d
commit
ef09314737
1 changed files with 1 additions and 1 deletions
2
key.sh
2
key.sh
|
@ -7,7 +7,6 @@ cat << EOF > "x509_${NUM}.genkey"
|
||||||
prompt = no
|
prompt = no
|
||||||
default_bits = 4096
|
default_bits = 4096
|
||||||
default_md = sha512
|
default_md = sha512
|
||||||
days = 109500
|
|
||||||
default_keyfile = full_key${NUM}.pem
|
default_keyfile = full_key${NUM}.pem
|
||||||
distinguished_name = req_distinguished_name
|
distinguished_name = req_distinguished_name
|
||||||
[ req_distinguished_name ]
|
[ req_distinguished_name ]
|
||||||
|
@ -17,6 +16,7 @@ emailAddress = ${EMAIL}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
openssl req -new -nodes -utf8 -batch -x509 \
|
openssl req -new -nodes -utf8 -batch -x509 \
|
||||||
|
-days 109500 \
|
||||||
-config "x509_${NUM}.genkey" \
|
-config "x509_${NUM}.genkey" \
|
||||||
-outform PEM \
|
-outform PEM \
|
||||||
-out "full_key${NUM}.pem" \
|
-out "full_key${NUM}.pem" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue