doc updates

This commit is contained in:
Per Allansson
2013-03-08 18:00:25 +01:00
parent f10f5d88ad
commit a4f4729bef
3 changed files with 29 additions and 10 deletions

19
README
View File

@ -47,11 +47,12 @@ to do the signing with the Microsoft signcode.exe:
http://www.matthew-jones.com/articles/codesigning.html
To sign with osslsigncode you need the spc file mentioned
in the article above, and you will also need the private
key, but not as a pvk file - it must be a simple key file
on DER format or in PEM format. You can create a DER file
from the PEM file by doing:
To sign with osslsigncode you need the spc file mentioned in the
article above, and you will also need the private key, it must
be a key file in DER or PEM format, or if osslsigncode was
compiled against OpenSSL 1.0.0 or later, in PVK format.
. You can create a DER file from the PEM file by doing:
openssl rsa -passin pass:XXXXX -outform der \
-in <pem-key-file> -out <der-key-file>
@ -62,7 +63,13 @@ To sign an EXE or MSI file you can now do:
-n "Your Application" -i http://www.yourwebsite.com/ \
-in yourapp.exe -out yourapp-signed.exe
or if you are using the PEM key file:
or if you are using a PVK key file:
osslsigncode -spc <spc-file> -pvk <der-key-file> \
-n "Your Application" -i http://www.yourwebsite.com/ \
-in yourapp.exe -out yourapp-signed.exe
or if you are using a PEM key file:
osslsigncode -spc <spc-file> -key <der-key-file> -pass <pem-password> \
-n "Your Application" -i http://www.yourwebsite.com/ \