Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 22:58:33 -0500
From:      "Gooderum, Mark" <mark@JUMPWEB.COM>
To:        "'Nader Turki'" <nader@venix.net>, freebsd-stable@FreeBSD.ORG
Subject:   apache13-modssl II
Message-ID:  <251BF6012D6B4A49A4109B1C3289A7B5BB59@purgatory.jumpweb.com>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C007FF.695DE031
Content-Type: text/plain;
	charset="iso-8859-1"

As long as we're on the topic. 

I was getting these errors with the apache13-modssl port with both Netscape
4.73 and IE 5.01SP1 (on Win2k SP1):

[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Handshake: start
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: before/accept
initializatio\
n
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 read client hello
A
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 write server hello
A
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 write certificate
A
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 write server done
A
[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 flush data
[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Loop: SSLv3 read client key
excha\
nge A
[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Write: SSLv3 read certificate
ver\
ify A
[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Exit: error in SSLv3 read
certifi\
cate verify A
[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Exit: error in SSLv3 read
certifi\
cate verify A
[16/Aug/2000 00:09:26 09537] [error] SSL handshake failed (server
appserver.jum\
pweb.com:443, client 63.89.161.43) (OpenSSL library error follows)
[16/Aug/2000 00:09:26 09537] [error] OpenSSL: error:1408F071::lib(20)
:SSL3_GET\
_RECORD:bad mac decode [Hint: Browser still remembered details of a
re-created \
server certificate?]

If I forced things to SSLv2 I still got errors:

[16/Aug/2000 00:16:19 09629] [info]  Seeding PRNG with 512 bytes of entropy 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Handshake: start 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: before/accept
initializatio\
n 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 read client hello
A 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 write server hello
A 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 read client master
ke\
y A 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 server start
encrypti\
on 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 write server
verify A 
[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Exit: failed in SSLv2 read
client\
 finished A 
[16/Aug/2000 00:16:19 09629] [error] SSL handshake failed (server
appserver.jum\
pweb.com:443, client 63.89.161.43) (OpenSSL library error follows) 
[16/Aug/2000 00:16:19 09629] [error] OpenSSL: error:140BB004::lib(20)
:SSL_RSA_\
PRIVATE_DECRYPT:reason(4) 

So I fudged the environment variables and built openssl-0.9.5a from
/usr/ports and plugged libcrypto.* and libssl.* with the 0.9.5a versions and
everything started working.  Is there any technical reason that the 4.x
baseline is still 0.9.4?  There seems to be known interaction bugs with
0.9.4 and the newer browsers having to do with framing expectations not
being met that are fixed in 0.9.5a.

--

Mark


 

 


> -----Original Message-----
> From: Nader Turki [ mailto:nader@venix.net <mailto:nader@venix.net> ]
> Sent: Wednesday, August 16, 2000 8:01 PM
> To: freebsd-stable@FreeBSD.ORG
> Subject: Re: apache13-modssl
>
>
> thanks guys i fixed it, i guess all i had to do was
> apachectl stop
> then
> apachectl startssl
>
> later,
>
>       --nader
>
> ----------------------------------------------
> Nader Turki
> System Administrator
> Venix Internet Services - http://www.venix.net <http://www.venix.net>; 
> E-mail: nader@venix.net
>
> On Wed, 16 Aug 2000, Nader Turki wrote:
>
> > hi there,
> > i installed fresh FreeBSD 4.1-RELEASE and upgraded to
> FreeBSD 4.1-STABLE
> > and upgraded the ports too.
> > i installed apache13-modssl from the ports. http is working
> fine but https
> > is not working i get the following message on logs:
> >
> > [16/Aug/2000 14:49:57 01027] [info]  Server: Apache/1.3.12,
> Interface:
> > mod_ssl/2.6.6, Library: OpenSSL/0.9.4
> > [16/Aug/2000 14:49:57 01027] [info]  Init: 1st startup
> round (still not
> > detached)
> > [16/Aug/2000 14:49:57 01027] [info]  Init: Initializing
> OpenSSL library
> > [16/Aug/2000 14:49:57 01027] [info]  Init: Loading
> certificate & private
> > key of SSL-aware server www.ensonic.net:443
> > [16/Aug/2000 14:49:57 01027] [info]  Init: Requesting pass
> phrase via
> > builtin terminal dialog
> > [16/Aug/2000 14:50:04 01027] [error] Init: Private key not
> found (OpenSSL
> > library error follows)
> > [16/Aug/2000 14:50:04 01027] [error] OpenSSL:
> error:0D06B078:asn1 encoding
> > routines:ASN1_get_object:header too long
> >
> > was hoping maybe someone could help me.
> >
> > thanks,
> >
> >     --nader
> >
> > ----------------------------------------------
> > Nader Turki
> > System Administrator
> > Venix Internet Services - http://www.venix.net <http://www.venix.net>; 
> > E-mail: nader@venix.net
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 


------_=_NextPart_001_01C007FF.695DE031
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 5.00.3103.1000" name=GENERATOR></HEAD>
<BODY>
<P>As long as we're on the topic.&nbsp;<BR><BR>I was getting these errors with 
the apache13-modssl port with both Netscape 4.73 and IE 5.01SP1 (on Win2k 
SP1):</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <P><FONT face="Courier New" size=2>[16/Aug/2000 00:09:25 09537] [trace] 
  OpenSSL: Handshake: start<BR>[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: 
  Loop: before/accept initializatio\<BR>n<BR>[16/Aug/2000 00:09:25 09537] 
  [trace] OpenSSL: Loop: SSLv3 read client hello A<BR>[16/Aug/2000 00:09:25 
  09537] [trace] OpenSSL: Loop: SSLv3 write server hello A<BR>[16/Aug/2000 
  00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 write certificate 
  A<BR>[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 write server 
  done A<BR>[16/Aug/2000 00:09:25 09537] [trace] OpenSSL: Loop: SSLv3 flush 
  data<BR>[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Loop: SSLv3 read client 
  key excha\<BR>nge A<BR>[16/Aug/2000 00:09:26 09537] [trace] OpenSSL: Write: 
  SSLv3 read certificate ver\<BR>ify A<BR>[16/Aug/2000 00:09:26 09537] [trace] 
  OpenSSL: Exit: error in SSLv3 read certifi\<BR>cate verify A<BR>[16/Aug/2000 
  00:09:26 09537] [trace] OpenSSL: Exit: error in SSLv3 read certifi\<BR>cate 
  verify A<BR>[16/Aug/2000 00:09:26 09537] [error] SSL handshake failed (server 
  appserver.jum\<BR>pweb.com:443, client 63.89.161.43) (OpenSSL library error 
  follows)<BR>[16/Aug/2000 00:09:26 09537] [error] OpenSSL: 
  error:1408F071::lib(20) :SSL3_GET\<BR>_RECORD:bad mac decode [Hint: Browser 
  still remembered details of a re-created \<BR>server 
certificate?]</FONT></P></BLOCKQUOTE>
<P>If I forced things to SSLv2 I still got errors:</P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <P><FONT face="Courier New" size=2>[16/Aug/2000 00:16:19 09629] [info]&nbsp; 
  Seeding PRNG with 512 bytes of entropy <BR>[16/Aug/2000 00:16:19 09629] 
  [trace] OpenSSL: Handshake: start <BR>[16/Aug/2000 00:16:19 09629] [trace] 
  OpenSSL: Loop: before/accept initializatio\<BR>n <BR>[16/Aug/2000 00:16:19 
  09629] [trace] OpenSSL: Loop: SSLv2 read client hello A <BR>[16/Aug/2000 
  00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 write server hello A 
  <BR>[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: SSLv2 read client 
  master ke\<BR>y A <BR>[16/Aug/2000 00:16:19 09629] [trace] OpenSSL: Loop: 
  SSLv2 server start encrypti\<BR>on <BR>[16/Aug/2000 00:16:19 09629] [trace] 
  OpenSSL: Loop: SSLv2 write server verify A <BR>[16/Aug/2000 00:16:19 09629] 
  [trace] OpenSSL: Exit: failed in SSLv2 read client\<BR>&nbsp;finished A 
  <BR>[16/Aug/2000 00:16:19 09629] [error] SSL handshake failed (server 
  appserver.jum\<BR>pweb.com:443, client 63.89.161.43) (OpenSSL library error 
  follows) <BR>[16/Aug/2000 00:16:19 09629] [error] OpenSSL: 
  error:140BB004::lib(20) :SSL_RSA_\<BR>PRIVATE_DECRYPT:reason(4) 
</FONT></P></BLOCKQUOTE>
<P>So I fudged the environment variables and built openssl-0.9.5a from 
/usr/ports and plugged libcrypto.* and libssl.* with the 0.9.5a versions and 
everything started working.&nbsp; Is there any technical reason that the 4.x 
baseline is still 0.9.4?&nbsp; There seems to be known interaction bugs with 
0.9.4 and the newer browsers having to do with framing expectations not being 
met that are fixed in 0.9.5a.</P>
<P>--</P>
<P>Mark</P>
<P><BR>&nbsp;</P>
<P>&nbsp;</P>
<P><BR>&gt; -----Original Message-----<BR>&gt; From: Nader Turki [<A 
href="mailto:nader@venix.net">mailto:nader@venix.net</A>]<BR>&gt; Sent: 
Wednesday, August 16, 2000 8:01 PM<BR>&gt; To: 
freebsd-stable@FreeBSD.ORG<BR>&gt; Subject: Re: 
apache13-modssl<BR>&gt;<BR>&gt;<BR>&gt; thanks guys i fixed it, i guess all i 
had to do was<BR>&gt; apachectl stop<BR>&gt; then<BR>&gt; apachectl 
startssl<BR>&gt;<BR>&gt; later,<BR>&gt;<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
--nader<BR>&gt;<BR>&gt; ----------------------------------------------<BR>&gt; 
Nader Turki<BR>&gt; System Administrator<BR>&gt; Venix Internet Services - <A 
href="http://www.venix.net" target=_blank>http://www.venix.net</A><BR>&gt; 
E-mail: nader@venix.net<BR>&gt;<BR>&gt; On Wed, 16 Aug 2000, Nader Turki 
wrote:<BR>&gt;<BR>&gt; &gt; hi there,<BR>&gt; &gt; i installed fresh FreeBSD 
4.1-RELEASE and upgraded to<BR>&gt; FreeBSD 4.1-STABLE<BR>&gt; &gt; and upgraded 
the ports too.<BR>&gt; &gt; i installed apache13-modssl from the ports. http is 
working<BR>&gt; fine but https<BR>&gt; &gt; is not working i get the following 
message on logs:<BR>&gt; &gt;<BR>&gt; &gt; [16/Aug/2000 14:49:57 01027] 
[info]&nbsp; Server: Apache/1.3.12,<BR>&gt; Interface:<BR>&gt; &gt; 
mod_ssl/2.6.6, Library: OpenSSL/0.9.4<BR>&gt; &gt; [16/Aug/2000 14:49:57 01027] 
[info]&nbsp; Init: 1st startup<BR>&gt; round (still not<BR>&gt; &gt; 
detached)<BR>&gt; &gt; [16/Aug/2000 14:49:57 01027] [info]&nbsp; Init: 
Initializing<BR>&gt; OpenSSL library<BR>&gt; &gt; [16/Aug/2000 14:49:57 01027] 
[info]&nbsp; Init: Loading<BR>&gt; certificate &amp; private<BR>&gt; &gt; key of 
SSL-aware server www.ensonic.net:443<BR>&gt; &gt; [16/Aug/2000 14:49:57 01027] 
[info]&nbsp; Init: Requesting pass<BR>&gt; phrase via<BR>&gt; &gt; builtin 
terminal dialog<BR>&gt; &gt; [16/Aug/2000 14:50:04 01027] [error] Init: Private 
key not<BR>&gt; found (OpenSSL<BR>&gt; &gt; library error follows)<BR>&gt; &gt; 
[16/Aug/2000 14:50:04 01027] [error] OpenSSL:<BR>&gt; error:0D06B078:asn1 
encoding<BR>&gt; &gt; routines:ASN1_get_object:header too long<BR>&gt; 
&gt;<BR>&gt; &gt; was hoping maybe someone could help me.<BR>&gt; &gt;<BR>&gt; 
&gt; thanks,<BR>&gt; &gt;<BR>&gt; &gt; &nbsp;&nbsp;&nbsp; --nader<BR>&gt; 
&gt;<BR>&gt; &gt; ----------------------------------------------<BR>&gt; &gt; 
Nader Turki<BR>&gt; &gt; System Administrator<BR>&gt; &gt; Venix Internet 
Services - <A href="http://www.venix.net" 
target=_blank>http://www.venix.net</A><BR>&gt; &gt; E-mail: 
nader@venix.net<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; To 
Unsubscribe: send mail to majordomo@FreeBSD.org<BR>&gt; &gt; with "unsubscribe 
freebsd-stable" in the body of the message<BR>&gt; 
&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; To Unsubscribe: send mail to 
majordomo@FreeBSD.org<BR>&gt; with "unsubscribe freebsd-stable" in the body of 
the message<BR>&gt; </P></BODY></HTML>

------_=_NextPart_001_01C007FF.695DE031--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?251BF6012D6B4A49A4109B1C3289A7B5BB59>