Hi,
Me again. Different question.
I'm running openca 0.9.2 (actually cvs branch openca_0_9_2 head) on a FC1 machine.
db is MySQL, automatic LDAP support is on.
My system is entirely on one server; no dataexchange, single database
I'm using the batch system to create certificates, but cannot find out how to handle them afterward. The batch processor creates encrypted keys and PINS. I need to know how to get at these, since I need to supply users with the appropriate (unencrypted) information. Alternatively, can I set the passphrase (of my choosing) for the key in the batch process. I tried to decrypt a purePIN file with the ca's private key, (which is what I seemed to see that the code was using) but I get the following error message from openssl:
> cd /usr/local/openca/ca
> openssl rsautl -decrypt -inkey ./var/crypto/keys/cakey.pem -in ./var/bp/users/2/_/t/e/s/t/_/b/workflows/enc_key/private/purePIN
Enter pass phrase for ./var/crypto/keys/cakey.pem:
RSA operation error
2774:error:0406506C:rsa routines:RSA_EAY_PRIVATE_DECRYPT:data greater than mod len:rsa_eay.c:393:
What I'm trying to achieve is this:
- Users request certs through a piece of agent software I'm building.
- This creates a batch proces on the openca server, which is then run (hopefully automatically at some time soon) -
(note) I suppose there are better ways (maybe SCEP) of doing this, but I'm not familiar enough with them to understand what to do.
(note) I really would need a command-line interface to openca.
- Once the batch is finished running, the agent needs to retrieve the certs with key, to install on the user's machine.
Mail users need to retrieve certs for correspondents from the LDAP directory.
This process is meant to be mostly transparent to the user. In other words, the user isn't going to the public interface to generate the request.
Thanks again in advance for any hints you can provide.
Mike
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Openca-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openca-users
