diff options
author | drebs <drebs@leap.se> | 2016-09-28 09:14:43 -0300 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2016-09-28 09:08:19 -0500 |
commit | 8bbd5e6976b4172f23586105f6794ff2357aed30 (patch) | |
tree | c4397bbb47b8072e7b09c67f6e192490b782527f | |
parent | 09cb8d860fdc8481bb74aebe2690f987fc9aefdd (diff) |
[doc] add certificate generation info to readme
-rw-r--r-- | README.rst | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -23,6 +23,28 @@ extension directory whose contents point to the repository dir: * The file name must be `bitmask-thunderbird@leap.se`. * The file contents must be the path for this repository. +Certificates +------------ + +For generating signed XPI packages you need a code signing certificate. In +order to do that you will need Network Security Services ("nss") and Netscape +Portable Runtime ("nspr"). If you are running debian, you can do: + + apt install libnss3-dev libnspr4-dev libnss3-tools + +Initialize some variables: + + CERTDIR=/path/to/cert/dir + CERTNICK=myCertificateNickname + +Initialize the certificate database: + + certutil -N -d ${CERTDIR} + +Generate a signing certificate: + + signtool -G ${CERTNICK} -d ${CERTDIR} -p"<password>" + XPI Package ----------- |