Create update of firefox and protect them with certificate

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
accpro
New Member
Posts: 1
Joined: June 5th, 2014, 4:53 pm

Create update of firefox and protect them with certificate

Post by accpro »

Hi all and sry if my english is bad.

There is a custom build of firefox. And me need to create an update for it.
I create update like wrote about it in different manuals, tutorials and forums, which i can find in internet. I compile a build. Then I copy obj-ff/dist/bin to bin2 and delete useless files and create file 'precomplete'. I run:

tools\update-packaging\make_full_update.sh update.mar obj-ff/dist/bin2

And update.mar is create. But when I try update program by updater.exe (i am do not use update server) the updating do not take place. And updater return errors:

ERROR: There must be at least one signature.
ERROR: Not all signatures were verified.

In the manuals and forums, which I find, different peoples do it and is was successful. But I can not do this.
Update I am doing by this way:
- create folder test-update in folder with program.
- copy there updater.exe and update.mar
- run updater.exe from program's folder with arguments are folder with update.mar and program's folder which i want to update.

But this is not problem. Me need that update will be protected with certificate.

I download and build NSS.
Run
certutil -N -d /c/nssconfdir
then
certutil -A -n test_cert -t "u,u,u" -i testcert.der -d /c/nssconfdir
and check
certutil -L -d /c/nssconfdir
There is the certificate in the output list.

Then i need to sign my update. For this, i use signmar.exe. And do all i can that i read in manuals and forums which i was fond in internet.
But there begining main problem:
After
tools/update-packaging/signmar -C /c/updates -d /c/nssconfig -n test_cert -s update.mar output_update.mar
i get errors:
ERROR: Could not initialize NSS
ERROR: Could not init config dir: c:\nssconfdir

What i need to do to program fond nss config dir. I am trying different versions of NSS. But i can't fix this problem.
Please, help me any body.
Post Reply