On Mon, Jan 25, 1999, Jan J.W.H. Baggen wrote:
> Installed Apache/1.3.4 (Unix) mod_ssl/2.1.7 SSLeay/0.9.0b
> on FreeBSD 2.2.5 and configured namebased virtualhost with
> SSL enabled. But Apache is not listning on port 443.
>
> ---
> # /usr/local/ssl/bin/s_client -connect localhost:443 -state -debug
> connect: Connection refused
> connect:errno=61
> ---
> When I add
> ---
> Listen 80
> Listen 443
> ---
Sure, Apache listens only when you configure it to listen to port 443...
> I get the following error:
> ---
> # /usr/local/ssl/bin/s_client -connect localhost:443 -state -debug
> CONNECTED(00000003)
> SSL_connect:before SSL initalisation
> write to 00094440 [000B5000] (103 bytes => 103 (0x67))
> 0000 - 80 65 01 03 01 00 3c 00-00 00 20 00 00 16 00 00 .e....<... .....
> 0010 - 13 00 00 0a 00 00 05 00-00 04 00 00 15 00 00 12 ................
> 0020 - 00 00 09 07 00 c0 03 00-80 01 00 80 08 00 80 06 ................
> 0030 - 00 40 00 00 14 00 00 11-00 00 08 00 00 06 00 00 .@..............
> 0040 - 03 04 00 80 02 00 80 a7-e4 8a b3 f0 43 be 0d 1c ............C...
> 0050 - cd e5 2e 87 cc c1 84 6d-00 0f a8 68 fc 39 64 89 .......m...h.9d.
> 0060 - 85 b9 53 ea bf a0 36 ..S...6
> SSL_connect:SSLv2/v3 write client hello A
> read from 00094440 [000BB000] (7 bytes => 7 (0x7))
> 0000 - 3c 21 44 4f 43 54 59 <!DOCTY
> SSL_connect:error in SSLv2/v3 read server hello A
> 5048:error:140770F8:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol:s23_clnt.c:451:
> ---
>
> I`m not prompted to enter my pass phrase on startup.
Wait! As it looks all you've done is to add the Listen directives, right?
That's too less, of course. Please have a look at the httpd.conf-dist (inside
the source tree) or httpd.conf.default (in the installed tree) file for
details on what is needed for SSL support. Watch especially for the <IfDefine
SSL> sections.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]