Hallo

I have ab big problem with the batch-system because i don´t know the 
passphrase for a PKCS#12 import ,for example in the Firefox Keystore.

The situation:

1) i create a batch_process_data.txt with
 
USER hwink001
PROCESS neues_zertifikat
set_state new_process
ROLE User
SUBJECT_ALT_NAME_1 email:[EMAIL PROTECTED]
SUBJECT CN=hwink006,dc=cs,dc=fh-wiesbaden,dc=de
LOA_MODE IGNORE
 
After this i create the import file with "tar -cvf exchange.tar 
batch_process_data.txt"

2) with the batch interface i go at "workflow Management" and do  
"Quickimport - see manual !"

The import works good  :) 

here my Import config:

EXPORT_IMPORT_LOCAL_DEVICE "/srv/openca/batch/"
EXPORT_IMPORT_LOCAL_START  ""
EXPORT_IMPORT_LOCAL_STOP   ""
EXPORT_IMPORT_LOCAL_IMPORT "/bin/tar -xvf @[EMAIL PROTECTED] -C 
@__DEST__@"
EXPORT_IMPORT_LOCAL_TEST   "/bin/tar -tvf @[EMAIL PROTECTED]"

3) now i go to "Do one step for all workflows" and say yes for CA key and 
for Key of the batch system and set "Number of iterations of the batch 
system" to 16

4) the system require 2 password and i put CA Password for 1 & 2 and it's 
seems good.

5) now, all is good and i can see certs in pub interface and i can export 
to ldap

My problem is.... i would like to import the PKCS#12 file (/OPENCADIR/var/
bp/dataexchange/pkcs12/) to the Firefox Keystore but i haven't the 
passphrase to import this file. I don't know what i can do  :(  but in the 
doc i read about the attribute "[EMAIL PROTECTED]" and so i try to 
import a PKCS#7 PIN....

1) i create a PKCS#7 file with the following statements:

"openca-sv encrypt -verbose -in passwd -out pin -cert /srv/openca/var/
crypto/cacerts/cacert.crt"

memo: the passwd file includes the plain text pass phrase named "test"

2) i put the pin file to the batch_process_data.txt:

USER hwink001
PROCESS neues_zertifikat
set_state new_process
ROLE User
SUBJECT_ALT_NAME_2 email:[EMAIL PROTECTED]
SUBJECT CN=hwink001,dc=cs,dc=fh-wiesbaden,dc=de
LOA_MODE IGNORE
[EMAIL PROTECTED]
-----BEGIN MYPIN-----
-----BEGIN PKCS7-----
MIIDFwY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

After this i create the import file with "tar -cvf exchange.tar 
batch_process_data.txt". The import works god and the workflow is 
successfully. But i have the same problem the passphrase "test" don't work 
 :( 

I'm helpless and hope for help  :) 

greetings Hans-Georg

PS: sorry for my "german" - English  ;) 


-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to