I was having the same problem, starting from when I added the SSL patch
(ssl.2). Not having had any experience with openssl, this posed a problem
for me. Luckily a coworker showed me some code he wrote, and suggested I
put in some error checking and add some other code. It came up with some
error about something not being seeded, I believe. I think what fixed it,
was adding to htlib/Connection.cc:
#include <rand.h>
const char* EGD_SOCKET_PATH = "/path/to/my/egd.socket";
and under Connection::initSSL() and Connection::connect(int allow_EINTR):
RAND_egd(EGD_SOCKET_PATH);
I also added some other code to force RAND_egd to only be called once,
because with the error checking code, I was finding ,with the exception
of perhaps the first time it was called, that RAND_egd was failing every
time it was called.
I know egd.socket is a named socket, and prngd.socket could be used in it's
place, and I think they are created by daemons, but other than that, I don't
know anything about these strange files.
Hope this helps.
Sean Kincaid
-----Original Message-----
From: Jason Scharlach [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 11:11 AM
To: [EMAIL PROTECTED]
Subject: [htdig] HTTPS Indexing
I'm attempting to index a secure web site but am running into some
difficulties. I've applied the ssl.3 patch to htdig (3.1.5) and
recompiled and openssl (0.9.6) has been installed also. When I
attempted to index the site with './htdig -i -vvvv' I get the following
error:
> ./htdig -i -vvvv
URL: https://www.myurl.com/ 1:0:https://www.myurl.com/
New server: www.myurl.com, 443
Unable to build connection with www.myurl.com:443
pushed
pick: www.myurl.com, # servers = 1
>
The server running on that host is Netscape Enterprise with a 128 bit
secure certificate from verisign installed.
Any ideas or help would be greatly appriciated.
Jason Scharlach
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>
