Re: Apache and mod_ssl - refusing connections on https?
Glyn Astill wrote:[color=blue]
> Hi people,
> I'm new to this list, so hello.
> I've been trying to get https working with apache 2.0.59 on NetBSD
> 3.99 today, and it's
> beginning to make my face ache.
> Basically when I try to view a page via https I get connection
> refused. Apache is compiled with mod_ssl.c, I have openssl installed.
> This is what I've done so far:
> 1) Copied the example openssl cfg from examples to
> 2)Generated my server key, then pem file then the csr and crt.
> 3)Then coppied them all into ssl.key (server.pem, server.key),
> ssl.csr (server.csr) and ssl.crt (server.crt). This is where my
> ssl.conf expects them.
> 4) Made sure ssl.conf is pointing to these files properly and is
> listening on port 443 (Listen <ipaddress>:443)
> 5) Made sure ssl.conf is included in httpd.conf properly
> 6) check that mod_ssl.c is compiled in with https -l
> 7) checked my apache access and error logs - nothing !
> .... And still nothing, it can't be listening on 443.
> If I do the following:
> #openssl s_client -connect localhost:443 -state -debug
> I get:
> connect: Connection refused
> I've even tried copying all my virtual hosts and changing :80 to
> :443, still nothing.
> This is really the first time I've ever touched ssl, so I'm hoping
> I'm missing something really dumb. I've basically just got the
> standard ssl.conf example modified ever so slightly so that things
> point in the right place.
> Any ideas?
> Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
> your free account today [url]http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html[/url]
> Apache Interface to OpenSSL (mod_ssl) [url]www.modssl.org[/url]
> User Support Mailing List [email]email@example.com[/email]
> Automated List Manager [email]firstname.lastname@example.org[/email][/color]
Omar W. Hannet
Apache Interface to OpenSSL (mod_ssl) [url]www.modssl.org[/url]
User Support Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]