Hi Michael,
Michael Konietzka wrote:
i am currently working on the export of the enrolled pkcs12 and their PINs.
My idea is to define the export-configuration within the batch_process_data.
In my environment I want to email the pkcs12 to the user, so
i will define a user_defined name "SENDP12TO" which specifies
the email-Address to send the p12. The generated E-Mail has the p12 as an attchment included
and will replace(overwrite) the /usr/local/ca/OpenCA/var/mail/default/$cert_serial.msg,
so this E-Mails is transported via the normal node export/import.
Additionally, i add "ENCRYPTPIN" which specifies a certificate to use for encryption of the PIN fpr the enrolled p12. The generated email will replace /usr/local/ca/OpenCA/var/mail/crins/$cert_serial.msg, so export via the node-interface will transport the emails to the user.
Current status is: Works for me, but breaks the support for several language, because
at the moment the text for the email is hardcoded in my script. ;-)
Sounds really interesting because it is highly configurable. Hardcoded emails can be easily fixed if you place the templates in lib/mails. Files can be easily loaded via $tools->getFile. I think it is no problem to find an example :)
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel