On Tue, 2007-11-13 at 13:42 +0900, Gregory Orange wrote:
> I'm no further use to you here I'm sorry, and I can't find anything in 
> particular at the appdeploy KB
> http://www.appdeploy.com/packages/detail.asp?id=873
> http://www.appdeploy.com/packages/detail.asp?id=1030
> but asking on the forums would probably help - I got some Firefox help 
> there recently. Interestingly they've just had a webinar on the topic of 
> repackaging. It's available as a streamed video, and I found it fairly 
> helpful, even though it wasn't in exactly the manner I expected.

I managed to solve this (by trial and error), with the following unix
shell script:

=== cut ===
#!/bin/sh -ex

certutil -N -d /tmp
certutil -A -d /tmp -n "sam.in.vpac.org" -t CT < /home/brian/sam-cacert.pem
certutil -A -d /tmp -n "APACGrid" -t CT < /home/brian/apac-cacert.pem

install -m644 -oroot -groot /tmp/cert8.db 
firefox-2009-enu/localized/defaults/profile
install -m644 -oroot -groot /tmp/cert8.db 
thunderbird-2006-enu/nonlocalized/defaults/profile
=== cut ===

certutil is supplied with libnss3-tools in Debian, other distributions
should have it too.

Note it is a bit yucky though, because certutil wants to create *.db
files to store secret keys, and as such asks for a password.

These files must not be installed though, because we don't want to
preinstall a default password for secret keys.

So we have to use a different directory and copy the required file.

Note the above script is for demonstration purposes only, and not meant
to be secure (it shouldn't use /tmp) or usable (hard coded references to
my home directory).
-- 
Brian May <[EMAIL PROTECTED]>
Victorian Partnership for Advanced Computing


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to