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