Re: OpenSSL nor working for me on windows 7

2011-05-27 Thread Matt Thompson
I've just tried both but no luck - still the same error. Matt On 27 May 2011 03:07, Gaiseric Vandal gaiseric.van...@gmail.com wrote: Did you try the openssl with cygwin? Any chance it needs an extra line feed at the end of the file? -Original Message- From:

Trying to get URI of CRL from certificate extension

2011-05-27 Thread Akash Deo
Hi, I am trying to get URI of the CRL from certificate extension using below function: static char *get_distribution_point(X509 *cert) { int extcount, i, j; const char*extstr; CONF_VALUE*nval; unsigned char *data; X509_EXTENSION

parse a BER encoded string and decode it

2011-05-27 Thread cocostaec
can anyone tell a way how to parse a BER encoded string an then decode it to ASN1?i've tried: [code] unsigned char* buffer; buffer=new unsigned

Signature type

2011-05-27 Thread Victor Sterpu
I'm trying to reproduce the signature in the attached file. I believe is smime PKCS7 but when I execute openssl smime -verify -in FARMD_16611264_20110524_1153.xml I get the message Error reading S/MIME message 31662:error:2107A087:PKCS7 routines:SMIME_read_PKCS7:no content type:pk7_mime.c:296:

RE: OpenSSL nor working for me on windows 7

2011-05-27 Thread mailz...@gmail.com
this error generally comes when you have problem with primary key. Try to generate primary key with perfect information like cn(common name). Sent from my Nokia phone -Original Message- From: Gaiseric Vandal Sent: 27/05/2011 8:07:05 am Subject: RE: OpenSSL nor working for me on windows

Re: OpenSSL nor working for me on windows 7

2011-05-27 Thread Jeffrey Walton
On Thu, May 26, 2011 at 6:01 PM, Matt Thompson thompson...@gmail.com wrote: I get an error when I try the following: PS C:\bin\OpenSSL-Win32\bin gc .\secrets.m.text U2FsdGVkX1+21O5RB08bavFTq7Yq/gChmXrO3f00tvJaT55A5pPvqw0zFVnHSW1o PS C:\bin\OpenSSL-Win32\bin .\openssl aes-256-cbc -d -a -in

Re: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Eric S. Eberhard
Does fail mean? Core dump? Whether it does or not, it us generally good practice to make sure those pointers are not null unless you are certain the functions can never return a bad value. Also, for debugging, if you break it down then you can get the individual results with print

Open SSL Error 14094412

2011-05-27 Thread David Mitchell
Greetings, I'm having some problems with EAP-TLS in FreeRadius 2.1.10. I have a client where authentication attempts always fail with the relatively generic error below. I've tried to figure out what it means with no luck. A search of the source shows that the error code (ultimately 1042) is

RE: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Yan, Bob
Hi Akash, I have encountered the same issue as you mentioned in your email but I still haven't figured out the cause of the failure. However, after I replaced d2i(0, data, ext-value-length) function with X509V3_EXT_d2i(ext), the problem was gone. Regards Bob

Re: Trying to get URI of CRL from certificate extension

2011-05-27 Thread Dr. Stephen Henson
On Fri, May 27, 2011, Akash Deo wrote: Hi, I am trying to get URI of the CRL from certificate extension using below function: static char *get_distribution_point(X509 *cert) { int extcount, i, j; const char*extstr; CONF_VALUE*nval;

openssl verify/Verify command line options

2011-05-27 Thread Louis Solomon
Hi, To test some certificates that I have made with my own rootca, I have been trying to use s_server and s_client commands with the openssl command line app. On a quick read of the docs, I thought the Verify (server) and verify (client) opts would do the job. But alas no. After testing