Fwd: d2i_PKCS7() error

2006-01-06 Thread Szabolcs Berecz
Hi! I'm not sure if you received this message, so I resend it: I'm trying to parse a PKCS7 structure and it works on linux (0.9.7d) but not on windows (0.9.7e) The error string is: error:0D07207B:lib(13):func(114):reason(123), which means header too long I have tried d2i_PKCS7, d2i_PKCS7_fp

signing certificates in non-interactive mode

2006-01-06 Thread Sandhya
Hi all, I need to sign the certificates in non-interactive mode I'm executing the following command, openssl ca -out /usr/local/ca/newcerts/signed.pem -infiles ./usercert_request.pem This command prompts the user 3 times. Is there any way that I can run this command non-interactively by

RE: signing certificates in non-interactive mode

2006-01-06 Thread R, Rajesh (STSD)
Check if echo abc\ndef\n. | openssl works. Thanks, Rajesh R -- This space intentionally left non-blank. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Uppada, Sandhya (STSD) Sent: Friday, January 06, 2006 4:59 PM To:

Re: signing certificates in non-interactive mode

2006-01-06 Thread Sandhya
Thanks Girish... that worked!!! On Fri, 2006-01-06 at 17:18, Girish Venkatachalam wrote: /* now sign the request generated */ sprintf(cmd,openssl ca -batch -config %s -in %s -days %d -out %s -passin pass:%s,ROOTCA_CONFIG_FILE,temp_cert_req,CA_SERVER_VALID_DAYS,tmpcert,ROOTCA_PKEY_PHRASE);

Re: Fwd: d2i_PKCS7() error

2006-01-06 Thread Perry L. Jones
I was not able to get windows stuff working until I added CRYPTO_malloc_init(); before SSL_library_init and OpenSSL_add_all_algorithms hope that helps. Perry Szabolcs Berecz wrote: Hi! I'm not sure if you received this message, so I resend it: I'm trying to parse a PKCS7 structure and

Re: Fwd: d2i_PKCS7() error

2006-01-06 Thread Dr. Stephen Henson
On Fri, Jan 06, 2006, Szabolcs Berecz wrote: Hi! I'm not sure if you received this message, so I resend it: I'm trying to parse a PKCS7 structure and it works on linux (0.9.7d) but not on windows (0.9.7e) The error string is: error:0D07207B:lib(13):func(114):reason(123), which

Re: otherName not supported?

2006-01-06 Thread Phil Dibowitz
Phil Dibowitz wrote: (sorry if this is a dup, I never saw my previous email come through) I was hoping to use otherName to store some information in my certificates... but it seems it's not all that supported: [EMAIL PROTECTED] tmp]$ openssl x509 -in test.crt -noout -text ...

compiling problem!

2006-01-06 Thread sun yingming
Hi: I'm compiling a program these days , but get stuck on the following error, can anyone help me out? It will be great thankful. [EMAIL PROTECTED] connection]# make gcc -g -I/usr/include -Wall-c -o wclient.o wclient.c In file included from /usr/include/openssl/ssl.h:179,

Re: otherName not supported?

2006-01-06 Thread Dr. Stephen Henson
On Fri, Jan 06, 2006, Phil Dibowitz wrote: I lost the reply but Stephen Henson noted: Currently the otherName component isn't displayed with the X509 print routines. You can however include arbitrary otherName data by specifying the appropriate ASN1 syntax in the config file.