mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-03 19:52:47 -05:00
change makecers.sh mode
This commit is contained in:

committed by
Michał Trojnara

parent
88bf99dec8
commit
26b7d5f617
@ -1 +0,0 @@
|
||||
7f6f24f728adda6a80c55f00607e8ad9
|
5
tests/conf/makecerts.sh
Normal file → Executable file
5
tests/conf/makecerts.sh
Normal file → Executable file
@ -37,7 +37,7 @@ make_certs() {
|
||||
echo 1001 > "CA/crlnumber"
|
||||
date > "makecerts.log"
|
||||
"$OPENSSL" version 2>> "makecerts.log" 1>&2
|
||||
echo -n "$password" > "password.txt"
|
||||
echo -n "$password" > tmp/password.txt
|
||||
|
||||
printf "\nGenerate root CA certificate\n" >> "makecerts.log"
|
||||
"$OPENSSL" genrsa -out CA/CA.key \
|
||||
@ -231,7 +231,8 @@ make_certs() {
|
||||
-a -s tmp/crosscert.pem -a -s tmp/expired.pem -a -s tmp/revoked.pem -a -s tmp/revoked.spc \
|
||||
-a -s tmp/TSA.pem -a -s tmp/TSA.key -a -s tmp/tsa-chain.pem
|
||||
then
|
||||
cp tmp/* ./
|
||||
mkdir "../certs"
|
||||
cp tmp/* ../certs
|
||||
printf "%s" "keys & certificates successfully generated"
|
||||
else
|
||||
printf "%s" "error logs ${result_path}/makecerts.log"
|
||||
|
Reference in New Issue
Block a user