mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-09 18:48:05 -05:00
set the certificate expiration date for CRL verification tests
This commit is contained in:
parent
8f56f3d620
commit
44a773401c
tests/certs
@ -45,7 +45,7 @@ make_certs() {
|
|||||||
script_path=$(pwd)
|
script_path=$(pwd)
|
||||||
OPENSSL=openssl
|
OPENSSL=openssl
|
||||||
CONF="${script_path}/openssltest.cnf"
|
CONF="${script_path}/openssltest.cnf"
|
||||||
$OPENSSL req -config $CONF -new -x509 -days 1800 -key demoCA/CA.key -out tmp/CACert.pem \
|
$OPENSSL req -config $CONF -new -x509 -days 3600 -key demoCA/CA.key -out tmp/CACert.pem \
|
||||||
-subj "/C=PL/O=osslsigncode/OU=Root CA/CN=CA/emailAddress=CA@example.com" \
|
-subj "/C=PL/O=osslsigncode/OU=Root CA/CN=CA/emailAddress=CA@example.com" \
|
||||||
2>> "makecerts.log" 1>&2'
|
2>> "makecerts.log" 1>&2'
|
||||||
test_result $?
|
test_result $?
|
||||||
|
@ -19,7 +19,7 @@ x509_extensions = usr_cert
|
|||||||
private_key = $dir/demoCA/CA.key
|
private_key = $dir/demoCA/CA.key
|
||||||
certificate = $dir/tmp/CACert.pem
|
certificate = $dir/tmp/CACert.pem
|
||||||
default_startdate = 180101000000Z
|
default_startdate = 180101000000Z
|
||||||
default_enddate = 280101000000Z
|
default_enddate = 210101000000Z
|
||||||
|
|
||||||
[ req ]
|
[ req ]
|
||||||
encrypt_key = no
|
encrypt_key = no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user