diff options
author | Richard Levitte <levitte@openssl.org> | 2015-05-06 18:48:48 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-05-06 19:43:59 +0200 |
commit | 2455eaf43f29cf11a949b965d7aa5b2ed816dd5c (patch) | |
tree | d11dfcf6562b387d4146e0e8f321ce412adf13c2 /test/testss | |
parent | 656b26055c713cb5623f26b415f6aeec6fb24c6f (diff) |
Add a -CAserial argument for signing the user cert request
This is just to make sure that option is tested on a Unix build. This
option is already present in ms/testss.bat, so it's an easy steal.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/testss')
-rw-r--r-- | test/testss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testss b/test/testss index 3afeb1168d..0f2f6dd546 100644 --- a/test/testss +++ b/test/testss @@ -9,6 +9,7 @@ OPENSSL_CONF=/dev/null ; export OPENSSL_CONF CAkey="keyCA.ss" CAcert="certCA.ss" +CAserial="certCA.srl" CAreq="reqCA.ss" CAconf="CAss.cnf" CAreq2="req2CA.ss" # temp @@ -61,7 +62,7 @@ echo make a user cert request $reqcmd -config $Uconf -out $Ureq -keyout $Ukey $req_new >err.ss || exit 1 echo sign user cert request -$x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee >err.ss || exit 1 +$x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -CAserial $CAserial -extfile $Uconf -extensions v3_ee >err.ss || exit 1 $verifycmd -CAfile $CAcert $Ucert || exit 1 echo Certificate details |