Apache Start-up error

2002-08-21 Thread Shah, Kishor (Kishor)

Friends,

I am trying to start-up Apache but getting the following errors:
[Wed Aug 21 09:52:02 2002] [warn] Init: PRNG still contains insufficient entropy
 
[Wed Aug 21 09:52:02 2002] [error] Init: Failed to generate temporary 512 bit RS
A private key   

My environment is, Solaris 2.8, Apache 2.0.40 with mod_ssl, OpenSSL 0.96g.

I have tried various things in ssl.conf file:

1) Using the default setting for SSLRandomSeed directive.
SSLRandomSeed startup builtin 
 
2) Creating a file with random data and trying,   
   
#SSLRandomSeed startup file:/tmp/.rnd 1024 

3) One thread suggested to put the directives in the httpd.conf, but that did not help 
either.

What am I doing wrong here and how can I resolve this ? Any help/suggestions are 
greatly appreciated as I'm new to Apache/SSL world.

Thanks,

Kishor Shah
email - [EMAIL PROTECTED]


-Original Message-
From: Edward Wong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 1:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Corrupt Jar and Cab files


One more thing:  this issue actually applies to all files of any type.  
Anything bigger than about 30K gets truncated.

--Ed


From: Edward Wong [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Corrupt Jar and Cab files
Date: Tue, 20 Aug 2002 16:49:56 -0700
MIME-Version: 1.0
X-Originating-IP: [156.153.254.10]
Received: from [195.27.130.252] by hotmail.com (3.2) with ESMTP id 
MHotMailBF2C214600B44004310CC31B82FC073D0; Tue, 20 Aug 2002 16:52:48 -0700
Received: by mmx.engelschall.com (Postfix)id 6744E19493; Wed, 21 Aug 2002 
01:52:12 +0200 (CEST)
Received: from opensource.ee.ethz.ch (opensource-01.ee.ethz.ch 
[129.132.7.153])by mmx.engelschall.com (Postfix) with ESMTP id 
1F9B719389for [EMAIL PROTECTED]; Wed, 21 Aug 2002 
01:52:12 +0200 (CEST)
Received: by en5.engelschall.com (Sendmail 8.9.2) for modssl-users-Lid 
BAA25227; Wed, 21 Aug 2002 01:51:15 +0200 (MET DST)
Received: by en5.engelschall.com (Sendmail 8.9.2) via ESMTP for 
[EMAIL PROTECTED]from hotmail.com id BAA25223; Wed, 21 Aug 2002 
01:51:02 +0200 (MET DST)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
Tue, 20 Aug 2002 16:49:57 -0700
Received: from 156.153.254.10 by lw11fd.law11.hotmail.msn.com with 
HTTP;Tue, 20 Aug 2002 23:49:56 GMT
From [EMAIL PROTECTED] Tue, 20 Aug 2002 16:53:34 
-0700
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 20 Aug 2002 23:49:57.0039 (UTC) 
FILETIME=[49D5F3F0:01C248A4]
Sender: [EMAIL PROTECTED]
Precedence: bulk
X-Sender: Edward Wong [EMAIL PROTECTED]
X-List-Manager: Majordomo [version 1.94.4]
X-List-Name: modssl-users

Hello All,

I'm seeing strange behavior when running apache 2.0.39 on Windows XP, where 
jar and cab files are truncated after after only 16K or so (my jar/cab 
files are actually around 100K).  This seems to happen with just about any 
browser, regardless of the JVM.  Also, this issue only occurs on Windows 
XP.  Win2k, WinNT, and Linux all work properly.

In Windows XP under http, everything seems to work just fine.  Under https, 
everything works fine EXCEPT for the jar and cab files.  Taking a look at 
the java cache shows that natually, the jar and cab files are missing.  My 
ssl conf files are as follows:

---ssl.conf

#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about 
these
# directives see URL:http://httpd.apache.org/docs-2.0/mod/mod_ssl.html
#
#   For the moment, see URL:http://www.modssl.org/docs/ for this info.
#   The documents are still being prepared from material donated by the
#   modssl project.
#

#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#

include conf/ssllisten.conf

##
##  SSL Global Context
##
##  All SSL configuration in this context applies both to
##  the main server and all SSL-enabled virtual hosts.
##

#
#   Some MIME-types for downloading Certificates and CRLs
#
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl.crl
AddType application/x-509-ca-cert  .csr

#   Pass Phrase Dialog:
#   Configure the pass phrase gathering process.
#   The filtering dialog program (`builtin' is a internal
#   terminal dialog) has to provide the pass phrase on stdout.
#SSLPassPhraseDialog  exec:certificates/getPassword.exe

#   Inter-Process Session Cache:
#   Configure the SSL Session Cache: First the mechanism
#   to use and second the expiring timeout (in seconds).
#SSLSessionCachenone
#SSLSessionCacheshmht:logs/ssl_scache(512000)
#SSLSessionCacheshmcb:logs/ssl_scache(512000)
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout  300

#   

Apache Start-up error-oops

2002-08-21 Thread Shah, Kishor (Kishor)

My apologies to the group for some unneccsary text at the end of my prev mail.


Kishor Shah
email - [EMAIL PROTECTED]

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Apache Start-up error

2002-08-21 Thread Cliff Woolley

On Wed, 21 Aug 2002, Shah, Kishor (Kishor) wrote:

 [Wed Aug 21 09:52:02 2002] [error] Init: Failed to generate temporary
 512 bit RSA private key
 My environment is, Solaris 2.8, Apache 2.0.40 with mod_ssl, OpenSSL 0.96g.

Try using prngd.

--Cliff


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: Apache Start-up error

2002-08-21 Thread Leon Do

Also one of the problem I ran into was that if you have the ssl module, then you
have to run apachctl startssl.

apachctl start will give the error below as well.

Leon Do

Cliff Woolley wrote:

 On Wed, 21 Aug 2002, Shah, Kishor (Kishor) wrote:

  [Wed Aug 21 09:52:02 2002] [error] Init: Failed to generate temporary
  512 bit RSA private key
  My environment is, Solaris 2.8, Apache 2.0.40 with mod_ssl, OpenSSL 0.96g.

 Try using prngd.

 --Cliff

 __
 Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
 User Support Mailing List  [EMAIL PROTECTED]
 Automated List Manager[EMAIL PROTECTED]

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]