summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-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
-----------