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.

Hello All Once Again

2010-08-26 Thread Sam Jantz
This time my question isn't out of necessity, but rather curiosity. I've been playing around with calculating the Session Key, and the IV for an SSL connection for a man-in-the-middle type proxy, and finally stumbled upon the EVP_CIPHER_ctx module. Inside of this struct there are two data members

Re: FUNCTION FOR LOADING THE CERTIFICATE

2010-08-26 Thread David Woodhouse
On Thu, 2010-08-26 at 14:41 +0530, Raj wrote: > Can anybody tell me the function for loading a certificate file > (from my local hdd) to X509 object http://www.advogato.org/person/dwmw2/diary/205.html -- dwmw2 __ OpenSSL

Re: Getting crazy with "error 20 at 0 depth lookup:unable to get local issuer certificate error" (I tried everything...)

2010-08-26 Thread Dr. Stephen Henson
On Thu, Aug 26, 2010, Toms Tormo wrote: >> >> Firstly thank you for the extensive debug information > No!! Thank you very much for your quick answer/reply!! > >> Specifically the authority key identifier of the EE certificate is >> incorrectly >> set, though it is set correctly for other certific

FUNCTION FOR LOADING THE CERTIFICATE

2010-08-26 Thread Raj
Hi All Can anybody tell me the function for loading a certificate file (from my local hdd) to X509 object Thanks, Raj Rajmohan SK

RE: Getting crazy with "error 20 at 0 depth lookup:unable to get local issuer certificate error" (I tried everything...)

2010-08-26 Thread Rene Hollan
Yes, AKID has to identify the issuer of the issuer, and the issuer's serial number assigned by its issuer, if you plan to use the issuer/serial approach. That tripped me up about a year ago, but when you think about it it makes sense: You need to identify the cert who's corresponding private key

Re: Getting crazy with "error 20 at 0 depth lookup:unable to get local issuer certificate error" (I tried everything...)

2010-08-26 Thread Tomás Tormo
Firstly thank you for the extensive debug information No!! Thank you very much for your quick answer/reply!! Specifically the authority key identifier of the EE certificate is incorrectly set, though it is set correctly for other certificates in the chain. I've been checking the Authority ke