aboutsummaryrefslogtreecommitdiff
path: root/create_codesign_ca.sh
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-23 15:10:17 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-23 15:10:17 +0200
commita3afac01c87283038d66d4f89918873637dadc84 (patch)
treebb5a7eb0cc55079612132fecc7a8d4872c3e4bb4 /create_codesign_ca.sh
parent6cf9e30ecf4aab6b6047c22cee9a86824eadfa2b (diff)
Improved driver-sign comfort by using fake-CA's w/o passphrase and self-sign driver images with osslsigncode.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'create_codesign_ca.sh')
-rwxr-xr-xcreate_codesign_ca.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/create_codesign_ca.sh b/create_codesign_ca.sh
index 42f4608..2483ad0 100755
--- a/create_codesign_ca.sh
+++ b/create_codesign_ca.sh
@@ -94,6 +94,7 @@ openssl pkcs12 -export \
-inkey "${CODE}-private.pem" \
-in "${CODE}-cert.pem" \
-chain -CAfile "${ROOT}-cert.pem" \
- -out "${CODE}.p12"
-openssl pkcs12 -in "${CODE}.p12" -info -nodes -nokeys -out "${CODE}.p12.txt"
+ -out "${CODE}.p12" \
+ -passout pass:""
+openssl pkcs12 -in "${CODE}.p12" -info -nodes -nokeys -out "${CODE}.p12.txt" -passin pass:"" -passout pass:""
openssl asn1parse -i -inform DER -in "${CODE}.p12"