Hi all,
I've been using Apache (1.39) and PHP (3.014) very successfully for a
while. I have been developing several test websites and now have a need
to test SSL. I downloaded openSSL (0.9.4) and mod-ssl (2.4.10) and
compiled and installed as per the instructions, building in PHP before
finishing off the Apache compilation (i.e "The flexible APACI-only way
[FOR REAL HACKERS]" in the mod-ssl INSTALL file). This all went as
planned and I installed a test certificate using make certificate.
Having a brief look through the httpd.conf file I found this was similar
to the default one I had seen before with additional SSL sections. I
left these as default and added the PHP configuration (AddType...
etc.). The base Apache and PHP configurations have unchanged from when
I had a running server the only difference is the addition of mod-ssl.
Typing apachectl start or apachectl startssl start httpd processes as
expected. However, when I try to connect to either http (port 80) or
https (port 443) I always get "Connection refused". This happens when I
am on my internal network (configured as 192.168.x.x) and trying it from
the local machine. I read somewhere that the host I type into the
browser must match the one I used in generating my certificate (I used
the hostname my ISP gives me). If (when I am connected to my ISP) I
type http(s)://phaderunner.demon.co.uk/ (the domain I used in the cert.)
I still get connection refused. I have unfortunately been unable to
find anyone to test the connection truly from outside but this is not
really what I want.
Is there any way I can test the ssl module from my internal network (or
the local machine) while I am developing sites? The server I will be
testing on is not sensitive and does not need to be outward facing, I
only need to test the ssl along with my PHP scripts. Could someone
please give me some suggestions? I would appreciate it.
Thanks in advance,
Robin
P.S. I know this may be a little long winded but I want to make sure
that I have included all the information.
--
[EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]