1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
The PKCS#12 bundle was created by running the following in an
interactive shell in ../../qsslsocket/certs/:
openssl pkcs12 -export -in leaf.crt \
-inkey leaf.key -out leaf.p12 \
-certfile inter.crt -CAfile ca.crt
An empty password was provided (twice). The pkcs.crt and pkcs.key
files were then copied here and leaf.p12 was moved here.
The test-case with no private key (in a valid PKCS12 file) was created
similarly but with the command adjusted to:
openssl pkcs12 -export -in leaf.crt \
-nokeys -out leaf-nokey.p12 \
-certfile inter.crt -CAfile ca.crt
The file leaf-nokey.p12 was then moved here.
|