David Mattes wrote:
actually, i want to have a program running on the client that generates
the CSR and signs the request with a smartcard. i don't want the
certificate tied to the private key on the smartcard, but the holder of
the smartcard is authorized to request certificates, and no one else,
hence the "agent" terminology.
OK, sounds like the program on the client generates a private key and
a CSR containing the public key and signed by the private key. It then
gets the smart card to sign the CSR with its hidden internal private
key.
When you get the mess, you verify the outer signature using the public
key of the smart card. You can then pass the CSR to the real CA which
will verify the inner signature using the public key in the CSR.
I haven't looked at the low-level signing stuff in OpenSSL to know if
there is an easy way to do these things.
--
Charles B (Ben) Cranston
mailto: [EMAIL PROTECTED]
http://www.wam.umd.edu/~zben
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]