qt6windows7/tests/auto/network/ssl/qsslcertificate/pkcs12/README
2023-10-29 23:33:08 +01:00

20 lines
666 B
Plaintext

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.