RE: Unable to load CRL

2009-12-11 Thread Radha krishna Meduri -X (radmedur - HCL at Cisco)
Hi Patrick Eisenacher I converted this crl to PEM format which worked like charm. Is there any restriction like CRL's should be in PEM for mat only? Thanks Radhakrishna. -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of

RE: Unable to load CRL

2009-12-11 Thread Radha krishna Meduri -X (radmedur - HCL at Cisco)
Hi Patrick We have one more update [r...@acsxp-srv3 radha]# [r...@acsxp-srv3 radha]# /opt/CSCOacsxp/.system/openssl crl -in abcd.crl -text unable to load CRL 13202:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:642:Expecting: X509 CRL [r...@acsxp-srv3 radha]#

RE: Unable to load CRL

2009-12-11 Thread Eisenacher, Patrick
Hi Radhakrishna, -Original Message- From: owner-openssl-us...@openssl.org On Behalf Of Radha krishna Meduri -X (radmedur - HCL at Cisco) Hi Patrick We have one more update [r...@acsxp-srv3 radha]# [r...@acsxp-srv3 radha]# /opt/CSCOacsxp/.system/openssl crl -in abcd.crl

RE: Unable to load CRL

2009-12-11 Thread Eisenacher, Patrick
Hi Radhakrishna, -Original Message- From: owner-openssl-us...@openssl.org On Behalf Of Radhakrishna Meduri -X (radmedur - HCL at Cisco) Hi Patrick Eisenacher I converted this crl to PEM format which worked like charm. Is there any restriction like CRL's should be in PEM for mat

RE: Unable to load CRL

2009-12-11 Thread Radha krishna Meduri -X (radmedur - HCL at Cisco)
Thanks for your support. Yes I have read it already. I am able to read crl file with switch -inform DER but my application is failing to read it while loading CRL from gui. I am trying to find out the issue. My application was using API's to read CRL's. Thanks Radhakrishna. -Original

Error with PKCS7_Decrypt ()

2009-12-11 Thread Jörg Eyring
Hello all, when decrypting a PKCS7 object using PKCS7_Decrypt (), I get the followig error: error:2107006F:PKCS7 routines:PKCS7_dataDecode:unsupported cipher type Encrypting is done as follows: ... const EVP_CIPHER *cipher = EVP_des_ede3_cbc (); ... pkcs7 = PKCS7_encrypt ( certs, inBIO, cipher,

Re: Unable to load CRL

2009-12-11 Thread Patrick Patterson
Hi Rahhakrishna: Sounds like you are using PEM_read_crl(), or some such, to read in your CRL. Since the CRL is actually in DER format, you should probably read the file in, and then use the Openssl d2i_X509_CRL (look up the man page - there's even a form of that function that allows you to read

Re: Error with PKCS7_Decrypt ()

2009-12-11 Thread Dr. Stephen Henson
On Fri, Dec 11, 2009, Jrg Eyring wrote: Hello all, when decrypting a PKCS7 object using PKCS7_Decrypt (), I get the followig error: error:2107006F:PKCS7 routines:PKCS7_dataDecode:unsupported cipher type http://www.openssl.org/support/faq.html#PROG8 Steve. -- Dr Stephen N. Henson.

Re: Error with PKCS7_Decrypt ()

2009-12-11 Thread Jörg Eyring
Thanks Steve! I was googling a lot, should better have consulted the FAQ first :-[ Jörg TOPIX Informationssysteme AG, http://www.topix.de Rudolf-Diesel-Straße 14, D-85521 Ottobrunn Tel: +49 89 608757-0, Fax: +49 89 608757-11

Re: Understanding SSL_read()/SSL_write()

2009-12-11 Thread Sebastián Treu
Hi, I didn't want to start another thread about this two I/O functions. For starters (like me) on this two I/O calls, things get a bit confusing at the beggining. I used to read man pages and doc before asking something that I don't know and gather information about it to try to resolve the

RE: Understanding SSL_read()/SSL_write()

2009-12-11 Thread David Schwartz
Sebastian Treu: As David said in an older thread, I can think of the API as a state machine and then, regarding how much progress we get, do something. Considering this, I have some doubts about a communication between server and clients. Let's say we write a client that in his nature, it's