hi all,

i try to use the Batch processor to enroll a lot of certificate bundled with their private key.
To test such method i use the "QuickImport" method as stated in the manual and a batch_process_data.txt file containing the same data seen in the manual.
Then i try to execute all the workflow steps using "Do one step for all workflows" specifying 16 iterations (i don't know how many iterations are needed to complete the job).

I started the processor, but something goes wrong.

The workflow function create_cert crashs for process sig_key of user jon_doe. Can't call method "first_child" on an undefined value at .../openca/lib/functions/crypto-utils.lib line 923.

I try to investigate the problem, but the loa.xml, which one of its node is referred in that method, seems correct.

Can anyone help me?

-----------------------------------------------
Some information:

OpenCA ver. 0.9.2.2
OpenSuse ver. 10.0 beta 4
-- 
Mario Ottone
Arsretia S.r.l.
Via D. Sansotta, 97
00144 Roma (IT)
e-mail: [EMAIL PROTECTED]
Tel.: +390652270097
Fax : +390652272313

INFORMAZIONE RISERVATA E CONFIDENZIALE Questo messaggio contiene
informazioni riservate e confidenziali. Se il lettore non fosse il
destinatario del messaggio, inoltrato e ricevuto per errore, il testo dovrà
essere immediatamente cancellato dal computer del ricevente. E'
assolutamente proibita qualunque circolazione, disseminazione o copia del
messaggio spedito e/o ricevuto per errore. AVVERTENZA: I messaggi e-mail non
offrono chiara evidenza del loro ricevimento e, quindi, per istruzioni
relative a pratiche in scadenza consigliamo di utilizzare mezzi di
comunicazione alternativi.

CONFIDENTIALITY and WARNING NOTICE This message may contain legally
privileged or confidential information. If the reader is not the intended
recipient, you received this message in error and it should therefore be
deleted from your computer at once. Any dissemination,distribution and
copying of a message mistakenly sent or received is strictly forbidden.
E-mail does not give positive evidence of receipt, for pending deadlines
alternative back-up is highly recommended.
<openca>
	<loa>
                <level>10</level>
                <name>Test</name>
                <cert>
                        <ext>
                                <name>certificatePolicies</name>
                                <!--
                                    list all the policy OIDs here that are below
                                    and equevilant to this level of assurance for example
                                    loa basic has policy oid 1.2.3.4 , and basic is
                                    higher than test and rudimentary and basic, so the
                                    line would look like this
				    <CP>
                                	<value>1.2.3.1</value>
                                	<value>1.2.3.3.5</value>
					<value>@psec</value>
				    <CP>
                                    ..... where
                                    1.2.3.1 is the oid for test loa and 1.2.3.2 is for
                                    Rudimantary. you get the picture NOTE they must be
                                    COMMA separated
                                -->
				<CP>
                                	<value>1.2.3.3.4</value>
				</CP>
                                <section>
                                        <name>psec</name>
					<policy_ID_tag> policyIdentifier</policy_ID_tag>
					<!--
                                            you can have multiple CPS URIs exmple
                                            <CPS>
                                                <URI>CPS.1="http:// url1"</URI>
                                                <URI>CPS.2="http://url2";</URI>
                                            <CPS>
                                        -->
                                        <CPS>
                                                <URI>CPS.1 ="http://some.url.org/cps";</URI>
                                        </CPS>

                                </section>
                        </ext>
                </cert>
        </loa>
	
	<loa>
                <level>20</level>
                <name>Rudimentary</name>
                <cert>
                        <ext>
                                <name>certificatePolicies</name>
				<!--
                                    list all the policy OIDs here that are below
                                    and equevilant to this level of assurance for example
                                    loa basic has policy oid 1.2.3.4 , and basic is
                                    higher than test and rudimentary and basic, so the
                                    line would look like this
                                    <CP>
                                        <value>1.2.3.1</value>
                                        <value>1.2.3.3.5</value>
                                        <value>@psec</value>
                                    <CP>
                                    ..... where
                                    1.2.3.1 is the oid for test loa and 1.2.3.2 is for
                                    Rudimantary. you get the picture NOTE they must be
                                    COMMA separated
                                -->
				<CP>
                                	<value>1.2.3.3.4</value>
                                	<value>1.2.3.3.5</value>
				</CP>
                                <section>
                                        <name>psec</name>
					<policy_ID_tag> policyIdentifier</policy_ID_tag>
					<!--
                                            you can have multiple CPS URIs exmple
                                            <CPS>
                                                <URI>CPS.1="http:// url1"</URI>
                                                <URI>CPS.2="http://url2";</URI>
                                            <CPS>
                                        -->
                                        <CPS>
                                                <URI>CPS.1 ="http://some.url.org/cps";</URI>
					</CPS>
                                </section>
                        </ext>
                </cert>
        </loa>
	<loa>
                <level>30</level>
                <name>basic</name>
                <cert>
                        <ext>
				<name>certificatePolicies</name>
				<!--
                                    list all the policy OIDs here that are below
                                    and equevilant to this level of assurance for example
                                    loa basic has policy oid 1.2.3.4 , and basic is
                                    higher than test and rudimentary and basic, so the
                                    line would look like this
                                    <CP>
                                        <value>1.2.3.1</value>
                                        <value>1.2.3.3.5</value>
                                        <value>@psec</value>
                                    <CP>
                                    ..... where
                                    1.2.3.1 is the oid for test loa and 1.2.3.2 is for
                                    Rudimantary. you get the picture NOTE they must be
                                    COMMA separated
                                -->
				<CP>
                                	<value>1.2.3.3.4</value>
                                	<value>1.2.3.3.5</value>
                                	<value>1.2.3.3.6</value>
				</CP>
                                <section>
                                        <name>psec</name>
					<policy_ID_tag> policyIdentifier</policy_ID_tag>
					<!--
                                            you can have multiple CPS URIs exmple
			                    <CPS>
                                        	<URI>CPS.1="http:// url1"</URI>
                                        	<URI>CPS.2="http://url2";</URI>
                                            <CPS>
                                        -->
					<CPS>
                                        	<URI>CPS.1 ="http://some.url.org/cps";</URI>
					</CPS>
                                </section>
                        </ext>
                </cert>
        </loa>
	<loa>
                <level>40</level>
                <name>Medium</name>
                <cert>
                        <ext>
				<name>certificatePolicies</name>
				<!--
                                    list all the policy OIDs here that are below
                                    and equevilant to this level of assurance for example
                                    loa basic has policy oid 1.2.3.4 , and basic is
                                    higher than test and rudimentary and basic, so the
                                    line would look like this
                                    <CP>
                                        <value>1.2.3.1</value>
                                        <value>1.2.3.3.5</value>
                                        <value>@psec</value>
                                    <CP>
                                    ..... where
                                    1.2.3.1 is the oid for test loa and 1.2.3.2 is for
                                    Rudimantary. you get the picture NOTE they must be
                                    COMMA separated
                                -->
				<CP>
                                	<value>1.2.3.3.4</value>
                                	<value>1.2.3.3.5</value>
                                	<value>1.2.3.3.6</value>
                                	<value>1.2.3.3.7</value>
				</CP>
                                <section>
                                        <name>psec</name>
                                        <policy_ID_tag> policyIdentifier</policy_ID_tag>
					<!--
                                            you can have multiple CPS URIs exmple
                                            <CPS>
                                                <URI>CPS.1="http:// url1"</URI>
                                                <URI>CPS.2="http://url2";</URI>
                                            <CPS>
                                        -->
                                        <CPS>
                                                <URI>CPS.1 ="http://some.url.org/cps";</URI>
                                        </CPS>

                                </section>
                        </ext>
                </cert>
        </loa>
	<loa>
                <level>50</level>
                <name>High</name>
                <cert>
                        <ext>
				<name>certificatePolicies</name>
				<!--
                                    list all the policy OIDs here that are below
                                    and equevilant to this level of assurance for example
                                    loa basic has policy oid 1.2.3.4 , and basic is
                                    higher than test and rudimentary and basic, so the
                                    line would look like this
                                    <CP>
                                        <value>1.2.3.1</value>
                                        <value>1.2.3.3.5</value>
                                    <CP>
                                    ..... where
                                    1.2.3.1 is the oid for test loa and 1.2.3.2 is for
                                    Rudimantary. you get the picture NOTE they must be
                                    COMMA separated
                                -->
				<CP>
                                	<value>1.2.3.3.9994</value>
                                	<value>1.2.3.3.5</value>
                                	<value>1.2.3.3.6</value>
                                	<value>1.2.3.3.7</value>
                                	<value>1.2.3.3.8</value>
				</CP>
                                <section>
                                        <name>psec</name>
                                        <policy_ID_tag> policyIdentifier</policy_ID_tag>
					<!--
                                            you can have multiple CPS URIs exmple
                                            <CPS>
                                                <URI>CPS.1="http:// url1"</URI>
                                                <URI>CPS.2="http://url2";</URI>
                                            <CPS>
                                        -->
                                        <CPS>
                                                <URI>CPS.1 ="http://some.url.org/cps";</URI>
                                        </CPS>

                                </section>

                        </ext>
                </cert>
        </loa>
</openca>
USER jon_doe
PROCESS sig_key
set_state new_process
ROLE User
SUBJECT_ALT_NAME_1 email:[EMAIL PROTECTED]
SUBJECT CN=Jon Doe, O=OpenCA, C=IT
LOA NORMAL

Reply via email to