mtrojnar / osslsigncode

OpenSSL based Authenticode signing for PE/MSI/Java CAB files
Other
778 stars 131 forks source link

Fail to read stream data error #327

Closed valentinpezon-primo closed 9 months ago

valentinpezon-primo commented 9 months ago

Hi,

I'm trying to sign a MSI certificate, I get this output

> osslsigncode sign -pkcs12 certificate.pfx -pass "random" -n "My Name" -i "My URL" -t "http://timestamp.comodoca.com/authenticode" -in app.msi -out app-signed.msi

Connecting to http://timestamp.comodoca.com/authenticode
Failed to read stream data
Succeeded
Binary app.msi was successfully signed.

I use a self-signed certificate for test-purpose and will buy a real one later when i get this command working

I self signed certificate was generated like so (procedure) :

Any idea why this Failed to read stream data pops out ? can't find anything online sadly