4) Bundle key and certificate

This step bundle two files in order to meet the requirements of signtool.exe:

The resulting file code_signing.pfx uses the format pkcs#12.

👀 Visual overview

Bundle

⚙ 1/1 Bundle

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:

👉 The resulting file is VERY important:

🕮 Manual for openssl pkcs12

🔍 Verify

You can inspect this .pfx file with the command:

openssl pkcs12 -info -nokeys -in code_signing.pfx

⇐ Certify your Certification-Request < 🏠 > Sign your Code ⇒


🅭 🅯 🄏 🄎