RE: code examples

2002-05-21 Thread Sharon Hezy
Hi, If you downloaded one of the last SSL versions, you should have under $OpenSSLRootDir directory "demos". It has the basics. If you need something more complicated, you can look at the sources in "apps" directory (these are the sources of the 'openssl.exe' internal commands). Almost all the d

Re: Compile GetHTTPS on Mac Platteform

2002-05-21 Thread Jean-Pierre Poulin
[EMAIL PROTECTED] writes: >I have some problem when I attempt to compile OpenSSL on Macintosh >Platteform. I have followed exactly what the file Install.MacOS said but >at the compilation I have theses errors : > >Error : the file 'openssl/symhacks.h' cannot be opened >crypto.h line 78 #includ

Re: code examples

2002-05-21 Thread Mark W. Webb
Eric Rescorla has a great book on TLS and SSL. I bought it a few weeks ago and you will find that there is no better source out there. On Tue, 2002-05-21 at 13:05, Amir Ghavam wrote: > Hi there, > I'm new to openssl. Could anybody tell me where can I find some code > examples please? > Many Than

RSA encryption and decryption for data which is larger than RSA_SIZE

2002-05-21 Thread Michael Schmid
Hi, I'm trying to encrypt some data with rsa. The RSA_SIZE of my key is 128. The data can be more than 128 bit. So my idea was to encrypt the data using a loop which encrypts 128 bytes at once. I've read that there could be problems if the length is bigger than RSA_SIZE-1. So I set blockLengt

Compile GetHTTPS on Mac Platteform

2002-05-21 Thread Jean-Pierre Poulin
I have some problem when I attempt to compile OpenSSL on Macintosh Platteform. I have followed exactly what the file Install.MacOS said but at the compilation I have theses errors : Error : the file 'openssl/symhacks.h' cannot be opened crypto.h line 78 #include Error : the file 'openssl/

code examples

2002-05-21 Thread Amir Ghavam
Hi there, I'm new to openssl. Could anybody tell me where can I find some code examples please? Many Thanks Amir __ OpenSSL Project http://www.openssl.org User Support Mailing List

new version applying:

2002-05-21 Thread Chuck Aaron
Hello, I am currently running 9.6A. how do I go about downloading the newest 9.6d version and applying it to my alphas? CJA __ OpenSSL Project http://www.openssl.org User Support Mailing List

SSL_peek()

2002-05-21 Thread Chris Plant
I'm trying to use SSL_peek() in the same way as I use recv( , , ,MSG_PEEK), but when I ask SSL_read() to read only the first x bytes, I only get the first x bytes, as expected, and then I lose all the data in the queue after that. Is this the normal behaviour, due to the way the packets arrive,

Problems with establishing an SSL session.

2002-05-21 Thread Oded Arbel
Hi list. I have a problem with a client trying to connect to a web server over SSL. I have an in-house HTTP server with SSL support through OpenSSL 0.9.6c, and while doing SSL_accept I get the following error : OpenSSL: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher This is a

RE: [openssl-users] Setting 5 year validity period.

2002-05-21 Thread Brandon Amundson
Chris, Thanks.. Brandon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Chris Cleeland Sent: Tuesday, May 21, 2002 11:27 AM To: [EMAIL PROTECTED] Subject: Re: [openssl-users] Setting 5 year validity period. On Tue, 21 May 2002, Brandon Amundson wrote

Re: [openssl-users] Setting 5 year validity period.

2002-05-21 Thread Chris Cleeland
On Tue, 21 May 2002, Brandon Amundson wrote: > Is there something I could add to the following commands to change the > default time a CA is good for? The ones I created are good for only 30 > days. I would like to have them be good for 1825 days. > > "To create the CA.pem and privkey.pem" >

Setting 5 year validity period.

2002-05-21 Thread Brandon Amundson
Is there something I could add to the following commands to change the default time a CA is good for? The ones I created are good for only 30 days. I would like to have them be good for 1825 days. "To create the CA.pem and privkey.pem" openssl req -out CA.pem -new -x509 "To sign the server

Re: SSL_R_INTERNAL_ERROR while handshaking

2002-05-21 Thread Lutz Jaenicke
On Mon, May 20, 2002 at 08:53:41AM +, Mike Whitaker wrote: > We have a customer's SSL client talking to a CGI on a mod_ssl enabled > Apache. The CGI (Perl) basically reads a POST request and copies the whole > of stdin to a file, and that's it. (It does remember to close the file, > and ret

Compatible Client Hello

2002-05-21 Thread shalen chhabra
I need to know whenever I initiate any connection with any https://supporting site like: openssl s_client -connect www.hotmail.com:443) and when I record with ssldump The first message is always this C>S SSLv2 compatible client hello (WHat does the above line mean?) next line is Version 3.1 c

Re: information and help

2002-05-21 Thread Lutz Jaenicke
On Sun, May 19, 2002 at 08:55:59PM -, shalen chhabra wrote: > will someone tell me what saccept.c program is meant for > in the demos dir of openssl. I am able to compile and > link it but when I write it gives me > > > ./saccept www.hotmail.com:443 > 2675:error:02006063:system library:bind

Re: make on HP 11.00 fails

2002-05-21 Thread Lutz Jaenicke
On Mon, May 20, 2002 at 04:08:16PM -0500, Johnson, Dave S. wrote: > I noticed someone had this exact same issue a couple years ago but there was > no responce with a solution: > > cc -I.. -I../../include +Z -DTHREADS -D_REENTRANT -DDSO_DL +O3 > +Optrs_strongly_typed +Olibcalls -Ae +ESlit

Re: so.2

2002-05-21 Thread Lutz Jaenicke
On Mon, May 20, 2002 at 01:45:19PM +0200, Lutz Jaenicke wrote: > On Sun, May 19, 2002, Michael B Krypel wrote: > > > Hello, > > > > I'm trying to install avifile, but it requires libssl.so.2 and > > libcrypto.so.2. I built the latest source on your website, > > openssl-0.9.6d.tar.gz, and only

Certificate problem

2002-05-21 Thread Mike Milligan
I am not able to create a server certificate that is recognized by Netscape.  The error I am encountering is "The Certificate is not valid for the attempted application.  I have scoured google but have not found the correct way to overcome this error. Here is what I have done. Created selfsigned CA

SSL error

2002-05-21 Thread Perry, Michael E (Michael)
Title: SSL error Hello, Attached is the error message I receive whenever I try to enable the OpenSSL server.  Please contact me if anyone has some information regarding this.  Thanks in advance. Michael Perry Avaya Inc. - Services R&D

SSL_R_INTERNAL_ERROR while handshaking

2002-05-21 Thread Mike Whitaker
Can anyone shed any light on the following? We have a customer's SSL client talking to a CGI on a mod_ssl enabled Apache. The CGI (Perl) basically reads a POST request and copies the whole of stdin to a file, and that's it. (It does remember to close the file, and returns a 200 and an empty te

SSL_CTX_use_certificate_file fail with Error 151441510 under Win2K/XP

2002-05-21 Thread Dhammike Weerabaddana
Hi, Under windows 2000 / XP environment I'm getting the following error when I try to use the SSL_CTX_use_certificate_file() function with SSL_FILETYPE_PEM. The application that I have built is an NT Service and when I start it from Service Control Manager or by issuing a net start it works fine

Re: so.2

2002-05-21 Thread Lutz Jaenicke
On Sun, May 19, 2002, Michael B Krypel wrote: > Hello, > > I'm trying to install avifile, but it requires libssl.so.2 and > libcrypto.so.2. I built the latest source on your website, > openssl-0.9.6d.tar.gz, and only got libssl.so.0.9.6 and > libcrypto.so.0.9.6. Do you know where I can get t