Hi Jphnny,

1. Load the pkcs#10 data from the DB
2. store the pkcs#10 data in a file (ej: 544.pem)
3. I sing the request (the file containing the pkcs#10
data) using the openca-sv tool, this way:

openca-sv sign -verbose -in 288.pem -out 288Signed.pem
-cert RACert.pem -keyfile RAKey.pem

That is the status of my project, now I want to:

1. load the data from the files (pkcs#10 and pkcs#7) 2. send the loaded data a long with the other
parameters to the approveCSR command.

If you implement 1., 2. and 3. with Java then you can do the rest with Java and without OpenCA too.

Put the PKCS#10 request with the header and the signature together, copy it into the DATA column of the request table and set the status column to APPROVED.

This is what approveCSR does. You have to verify of course that OpenCA can verify your signatures. I don't recommend you to try to ue approveCSR because this command only works inside of the complete OpenCA server framework.

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to