From: Richard Levitte Date: Wed, 6 May 2015 16:48:48 +0000 (+0200) Subject: Add a -CAserial argument for signing the user cert request X-Git-Tag: OpenSSL_1_1_0-pre1~1180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2455eaf43f29cf11a949b965d7aa5b2ed816dd5c;p=oweals%2Fopenssl.git 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 --- 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