Hi,

I am currently working on a standalone Perl script that runs on the CA
and issues all approved CSRs (see other posts about automatic issuance).

For cert issuance I have to instantiate the CA Token:

my $token_xml = getRequired( 'TokenConfiguration');
my $crypto_layer = new OpenCA::Crypto(CONFIG => $token_xml,
                                        GETTEXT => \&gettext,
                                        CACHE => $xml_cache,
                                        DEBUG => 0);
[...]
my $ca_token = $crypto_layer->getToken ('CA')

My problem is the XML Cache. OpenCA::Crypto requires it, but instantiating
it seems to require starting the XML cache daemon.

I don't really want to start a cache daemon for the standalone script and
I also suspect that this may cause problems with a concurrently running
cache daemon that was started by the OpenCA server process.

So what is the recommended procedure for instantiating the CA token?

Thanks,

Martin



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to