summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-09-28 09:14:43 -0300
committerRuben Pollan <meskio@sindominio.net>2016-09-28 09:08:19 -0500
commit8bbd5e6976b4172f23586105f6794ff2357aed30 (patch)
treec4397bbb47b8072e7b09c67f6e192490b782527f
parent09cb8d860fdc8481bb74aebe2690f987fc9aefdd (diff)
[doc] add certificate generation info to readme
-rw-r--r--README.rst22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 727eedf..018a509 100644
--- a/README.rst
+++ b/README.rst
@@ -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
-----------