This step bundle two files in order to meet the requirements of signtool.exe
:
code_signing.key
(private key generated during the generation of the Certification-Request)code_signing.crt
(Certificate generated by our CA upon signing the Certification-Request)The resulting file code_signing.pfx
uses the format pkcs#12.
The command that performs this task is:
openssl pkcs12 -export -inkey code_signing.key -in code_signing.crt -out code_signing.pfx
You will be prompted for two passwords:
code_signing.pfx
certification_request.csr
👉 The resulting file is VERY important:
🕮 Manual for openssl pkcs12
You can inspect this .pfx file with the command:
openssl pkcs12 -info -nokeys -in code_signing.pfx