[wpkg-users] Importing Certificate in a batch

Marco Gaiarin gaio at sv.lnf.it
Fri Nov 24 14:22:40 CET 2006


Mandi! Alexandros Gougousoudis
  In chel di` si favelave...

> Won't work, because the user need adminrights to import a computer-cert 
> (not a user-cert, which is easier).

I'm speaking exactly about this.

To install my RootCA i'm using a .xml like:

  <package
        id="localca"
        name="Installa Local CA Root Certificates"
        revision="1"
        reboot="false"
        priority="5"
        execute="once">

        <install cmd='regedit /s %WPKGROOT%\packages\localca.reg' />
        <remove cmd='echo "nothing"' />
  </package>

where %WPKGROOT%\packages\localca.reg are the certificate imported in
'registry format' (export .pem to .der, double click to import, dump
registry, ...).

Your setup i think can be achived simply using:

	<install cmd='regedit /s %WPKGROOT%\packages\%SYSTEMNAME%.reg' />

Clearly you have a big work converting all .der to registry entry, but
i don't exclude that the task could be automatized in some way...

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797






VDEV
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list