Richard Mace wrote:
>> A quick search on wiki.ubuntu.com for "ssl" finds:-
>>
>> https://wiki.ubuntu.com/Apache2_SSL
>>
>> Which, whilst annotated in another language, gives all the commands
>> you need.
>>
>> You just need to hope that none of that text betwen the instructions
>> reads "Never, ever under any circumstances
>> execute the following command:-"
>
> Right, got it configured, but I can't connect.
> I am getting told that "Firefox cannot establish a connection"?
>
> Richard
>
Where are you trying to connect from Richard, the server or a different
machine?
Is Apache running? Try:
sean@bender:~$ ps -ef | grep apache
root 27079 1 0 Feb11 ? 00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data 27098 27079 0 Feb11 ? 00:00:05 /usr/sbin/apache2 -k
start -DSSL
www-data 27099 27079 0 Feb11 ? 00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data 27100 27079 0 Feb11 ? 00:00:01 /usr/sbin/apache2 -k
start -DSSL
www-data 27101 27079 0 Feb11 ? 00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data 27102 27079 0 Feb11 ? 00:00:01 /usr/sbin/apache2 -k
start -DSSL
www-data 27962 27079 0 Feb11 ? 00:00:00 /usr/sbin/apache2 -k
start -DSSL
www-data 27963 27079 0 Feb11 ? 00:00:02 /usr/sbin/apache2 -k
start -DSSL
www-data 27965 27079 0 Feb11 ? 00:00:02 /usr/sbin/apache2 -k
start -DSSL
sean 1375 1292 0 18:40 pts/0 00:00:00 grep apache
Assuming that you are trying to connect to port 443 try the following on
the server:
sean@bender:~$ netstat -an | grep 443
tcp6 0 0 :::443 :::* LISTEN
... here the second line shows that my machine is listening for
connections on port 443.
If nothing is listening then chances are you have not configured it
within ports.conf, so try:
sean@bender:~$ grep 443 /etc/apache2/*
/etc/apache2/ports.conf:Listen 443
... where the second line indicates it is configured.
Sean