qt6windows7/tests/auto/network/ssl/qsslcertificate/pkcs12
2023-10-29 23:33:08 +01:00
..
inter.crt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
leaf-nokey.p12 qt 6.5.1 original 2023-10-29 23:33:08 +01:00
leaf.crt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
leaf.key qt 6.5.1 original 2023-10-29 23:33:08 +01:00
leaf.p12 qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README qt 6.5.1 original 2023-10-29 23:33:08 +01:00

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.