openssl api

2001-10-12 Thread Nicolas Heuvelmans
Dear all, I've an access violation exception error when I run the following code: ... RSA *key = RSA_generate_key(1024,3,NULL,NULL); FILE *fos; remove(mykey.puk); if ((fos = fopen(mykey.puk,w+b)) == NULL) { return -1; } i2d_RSAPublicKey_fp(fos,key); // access violation at this line ...

Decrypt Encrypted Private Key

2001-10-12 Thread Ahmad Syukri
Hi, Hopefully somebody will know how to decrypt an encrypted private key. I just encrypt a privated key using command: openssl pkcs8 -in pkey.key -topk8 -v2 des3 -out enc.key -passin pass:ABC123 -passout pass:ABC123 Does anyone know what is the different between -passin and -passout parameter?

client/server using TLS

2001-10-12 Thread julien Bournelle
Hi all, I try to developp a client/server application using TLS... My client.c file is like this : first : initialize_ctx(); tcp_connect6(); - I use IPv6 socket SSL_new(); BIO_new_socket() SSL_set_bio() SSL_connect() in my server.c file I have :

Re: Implementation Issues with OpenSSL

2001-10-12 Thread Lutz Jaenicke
Hi! I know it has been a long time, but I have just continued to analyze your submission. I have not yet applied your patch. With respect to the SSL_SESSION_free() problem, it would only cure the symptoms of incorrect SSL_SESSION_free() use. It is not just the session list inside the SSL_CTX

Re: Load CA IE and NetScape

2001-10-12 Thread Louis LeBlanc
On 10/11/01 01:16 PM, anil kumar sat at the `puter and typed: Hi All, I am using OpenSSL with Apache on Win32. OpenSSL 0.9.6, mod-ssl 2.8.2, Apache 1.3.19. I have generated CA using openssl. Installed CA certificate in the server by editing httpd.conf SSLCACertificatePath

SSL_Connect hangs when network connection is lost

2001-10-12 Thread Daniel . Heron
I am having a problem where the SSL_Connect function call hangs when the network connection is lost. The function writes the client hello to the server and then waits for a response. If no response is received it just seems to wait forever. Is there something that I can set so that the

Re: FTP over OpenSSL

2001-10-12 Thread Ng Pheng Siong
On Wed, Oct 10, 2001 at 01:51:34PM -0700, Daniel Franks wrote: I am new to the list and OpenSSL. As the company programmer I have been assigned to setup FTP over SSL and am looking for pointers. Ask your favourite search engine for the document called draft-murray-auth-ftp-ssl-07.txt. (It's

Re: Implementation Issues with OpenSSL

2001-10-12 Thread Chris D. Peterson
Thus spake Lutz Jaenicke ([EMAIL PROTECTED]): I know it has been a long time, but I have just continued to analyze your submission. I have not yet applied your patch. With respect to the SSL_SESSION_free() problem, it would only cure the symptoms of incorrect SSL_SESSION_free() use. It is

Re: -RANDom confusion

2001-10-12 Thread ComCity
Ok, I apologize but as a newbie I thank you very much for replying. Here's the details: Linux 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown Apache/1.3.12 10312100 OpenSSL 0.9.6a 5 Apr 2001 I log in as root, but the files in /dev are hidden from me. There seems to be a file called

openssl engine?

2001-10-12 Thread Helmut Heilig
Hi, can anybody tell me the difference between openssl and openssl-engine. Couldn't find anything about that in the FAQ. I am not subscribed. Please give me a cc. Regards __ OpenSSL Project

Re: client/server using TLS

2001-10-12 Thread Eric Rescorla
julien Bournelle [EMAIL PROTECTED] writes: I try to developp a client/server application using TLS... My client.c file is like this : first : initialize_ctx(); tcp_connect6(); - I use IPv6 socket SSL_new(); BIO_new_socket() SSL_set_bio() SSL_connect()

Exporting private key from IIS

2001-10-12 Thread Adam Ronthal
Hi all, I'm having trouble getting the private key out of an IIS .key cert. I've followed the instructions to strip off the extra ASN1 SEQUENCE data at the beginning of the key, but it doesn't seem to work: On Win32: E:\openssl-win32openssl rsa -inform NET -in priv.key -out key.pem read RSA

Re: SSL_read

2001-10-12 Thread Dr S N Henson
Move to openssl-users... Xavier Roques wrote: hy, I have some questions. I'm using SSL with asynchronous sockets. So, when I want to receive data, I call select and SSL_READ. But sometimes, even if my select is OK, SSL_READ return SSL_ERROR_WANT_READ. That's normal behaviour.

Re: openssl engine?

2001-10-12 Thread Richard Koenning
At 20:33 12.10.2001 +0200, Helmut Heilig wrote: can anybody tell me the difference between openssl and openssl-engine. Couldn't find anything about that in the FAQ. See: http://www.openssl.org/support/faq.html [MISC] 6. What is an 'engine' version? Ciao, Richard -- Dr. Richard W. Könning

Re: Crypt::SSLeay Win32 errors

2001-10-12 Thread Joshua Chamas
Mike Allison wrote: I'm attempting to compile Crypt::SSLeay 0.31 on Windows 2000 using Perl 5.005_03 and MSVC++ 6.0. I cannot get past the error below. I have tried to use the prebuilt PPM's from active state, but get errors from SSLeay.dll everytime. I wish I could upgrade Perl, as the