Re: Signing the certificate

2010-08-27 Thread Sam Jantz
Raj, That's not exactly how certificates work. To get a certificate signed by a CA you have to create a request, and send it to the CA. The CA will then sign it with it's private key. The function that you are looking for is int X509_sign(X509* cert, EVP_PKEY * private_key, EVP_sha1()). This f

Signing the certificate

2010-08-26 Thread Raj
Hi all I want to sign the certificate programmatically. I have created a X509 certificate programmatically using Open SSL API's, Instead of making it self signed I want to sign it using another CA certificate, which is inside my local hard drive. Can anybody tell me how to do it.