Re: Apache and mod_ssl - refusing connections on https?
"Omar W. Hannet" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Message-ID | <[email protected]> |
SSLEngine On? Glyn Astill wrote: > 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 > /etc/openssl/openssl.cnf > > 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 > connect:errno=61 > 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? > > > Cheers > Glyn > > > ___________________________________________________________ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html > ______________________________________________________________________ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] -- Omar W. Hannet http://www.allez-oop.net/ ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [email protected] Automated List Manager [email protected]