Use ssl_st struct(SSL) to hold application data ?....

2002-08-14 Thread Sharon Hezy
Title: Clear Day Hello to all. I want to know if I can use the "int dummy" which is the part of CRYPTO_EX_DATA structure : typedef struct crypto_ex_data_st { STACK *sk; int dummy; /* gcc is screwing up this data structure :-( */ } CRYPTO_EX_DATA;  which is , in turn, the part of ssl_st stru

RE: PRNG not seeded

2002-08-14 Thread Boyle Owen
>From: Boyle Owen >After upgrading to openSSL-0.9.6g and reinstalling >openssh_3.4p1, I can't get ssh or sshd to work. As soon as I >try to start the sshd daemon or an ssh session, I immediately >get the command line error "PRNG is not seeded". Thanks Lutz, for helping out - your tips really

Re: Upgrading openssl

2002-08-14 Thread Adam Lewis
You are restarting ssh aren't you? Also check that your symlinks are as follows... /lib/libssl.so.2 -> /usr/local/ssl/lib/libssl.so.0.9.6 /lib/libcrypto.so.2 -> /usr/local/ssl/lib/libcrypto.so.0.9.6 This is on my system where I install OpenSSL into it's default dir of /usr/local/ssl. I configu

Re: perl net::ssl module

2002-08-14 Thread Dirk van der Giesen
Hi Michael, I get back to you a little late, because i spend about a day trying to get SSL.pm to work. I'm afraid i can't get it to install properly. Which made me think about what you set using SSLeay.pm This module already seemed installed in the /Net library so why not use it. The only thing

Re: Upgrading openssl

2002-08-14 Thread Glynn S. Condez
that is also in my case, im running redhat 7.2 with the openssl-0.9.6b, i just updated the openssl to openssl-0.9.6e, and when i created a new symlink to the new library libcrypto.* ssh localhost wont work. so i created a symlink to my old libcryto and it works. know how to fix this error? glyn

How the chained BIOs work?

2002-08-14 Thread cch
Hi list,      I followed the dgst.c file to write my own testing SHA1 function. There is a for loop from line 347 to 351 that BIO_reads out some data from the chained BIO, then it did the digesting at line 378, BIO_gets(). If I left out the for loop, the result is not correct, besides, the d

RAND_pseudo_bytes function

2002-08-14 Thread Srinivas Cheruku
Hi all, Can i use this function RAND_pseudo_bytes for generating a pseudo random number of 46 bytes? I think, this function is used for generating large keys of 1024 and above. Are there any limitations if i use this function for generating 46 byte pseudo randam number? Many Thanks and Regards,

Re: PRNG not seeded

2002-08-14 Thread Lutz Jaenicke
On Wed, Aug 14, 2002 at 02:24:15PM +0200, Boyle Owen wrote: > So, it looks like the newly installed ssh is trying to get its entropy from >/dev/urandom instead of prngd. That would explain the "not seeded" error. >Incidentally, apache/mod_ssl is working fine with this prngd so, indeed, the probl

RE: PRNG not seeded

2002-08-14 Thread Boyle Owen
>From: Lutz Jaenicke [mailto:[EMAIL PROTECTED]] >> After upgrading to openSSL-0.9.6g and reinstalling >openssh_3.4p1, I can't get ssh or sshd to work. As soon as I >try to start the sshd daemon or an ssh session, I immediately >get the command line error "PRNG is not seeded". >I doubt that you

Re: How to generate CSR without prompts?

2002-08-14 Thread Arne Ansper
> Or do I just need to tear apart the "openssl req" command source, find > what library calls it does, and just call the library myself, and thus > re-invent the wheel? Has anyone already done this? OpenSSL 0.9.7 req command has two useful options: -subj arg set or modify request subje

Re: PRNG not seeded

2002-08-14 Thread Lutz Jaenicke
On Wed, Aug 14, 2002 at 11:42:51AM +0200, Boyle Owen wrote: > Hi, > > After upgrading to openSSL-0.9.6g and reinstalling openssh_3.4p1, I can't get ssh or >sshd to work. As soon as I try to start the sshd daemon or an ssh session, I >immediately get the command line error "PRNG is not seeded".

PRNG not seeded

2002-08-14 Thread Boyle Owen
Hi, After upgrading to openSSL-0.9.6g and reinstalling openssh_3.4p1, I can't get ssh or sshd to work. As soon as I try to start the sshd daemon or an ssh session, I immediately get the command line error "PRNG is not seeded". Previously, with openssl-0.9.6f and openssh_3.4p1, all was working

How to use OpenSSL to sign a certificate for IIS 5.0 (Windows 2000 server)?

2002-08-14 Thread Thai Thanh Ha
Hi all,   I'm trying to create a certificate to use with IIS 5. But I have a problem when I import a certificate into IIS. I have created a certificate request using IIS tool (the MMC console) at C:\certreq.txt. After that, I signed a certificate for that request ( I acts as a CA):   openss