From: Andreas K. <kri...@ho...> - 2014-10-09 20:30:45
|
Hello, I still have problems with the Batch Processing. I have played with the file bpIssueCertificate a bit (/opt/openca/ca/lib/openca/cmds/) So the problem is at this code: ## loop ## there can never be a request 0 my $key = 0; while ($request = $db->getNextItem(DATATYPE => "APPROVED_REQUEST", KEY => $key)) { $key = $request->getSerial(); Everything within the while loop is not executed. If I set 'my $key = 256' which really exists then the while loop is executed and the Batch processing tries to issue certificates which requests are not only have the status approved. Requests with the status archived will also be issued which failes because they are already issued. I have a frsh installed Debian stable, OpenCA-Base 1.5.1, OpenCA-Tools 1.3.1 and PostgreSQL 9.1 Thanky for any help :) |