mod-ssl connection refused
i just installed apache1.3 on my debian sarge box (no gui, sshing into it) and was able set it up no problem. i installed mod-ssl (apt-get), ran mod-ssl-makecert to create my certificate, and added the parts to http.conf that was suggested on http://www.debian-administration.org/articles/31
when i tried loading the page, http://ipaddr no longer works and i get the same error with https://ipaddr: "the connection was refused" i ran Code:
openssl s_client -connect localhost:443 -state -debug here's my virtual host code section (where i suspect the problem is): Code:
<VirtualHost *:81> |
Quote:
Regards |
your problem could be some confusion in the config file....
what I can understand.. you need to have site which also has ssl... why not make the default site with DocumentRoot /var/www/sql-ledger and remove the Virtual Host declaration with port 81... next... make the SSL virtualhost as <VirtualHost _default_:443> rest is OK.. so that means http:/ipadr works and also htps://ipadr works... check also that on /var/www/sql-ledger you have permissions Also if the problem is not resolved... post the output from error_log... |
:p sorry guys, i tried your changes, checked the log file, still wasn't working, then i realized...
I forgot to forward port 443 in my router (i did for my other box, but forgot to do it this time)... my bad. Things work like a charm now, thanks for your input! |
All times are GMT -5. The time now is 11:13 PM. |