Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Location
    Canada
    Posts
    2

    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
    and it showed my ssl cert fine.

    here's my virtual host code section (where i suspect the problem is):
    Code:
    <VirtualHost *&#58;81>
            ServerAdmin &#91;email&#93;webmaster@jordan.com&#91;/email&#93;
            DocumentRoot /var/www/sql-ledger
            ServerName 192.168.1.105
    </VirtualHost>
    
    
    <VirtualHost localhost&#58;443>
    
    <IfModule mod_ssl.c>
            SSLEngine on
            SSLCertificateFile    /etc/apache/ssl.crt/server.crt
            SSLCertificateKeyFile /etc/apache/ssl.key/server.key
            SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    </IfModule>
    
            ServerAdmin &#91;email&#93;webmaster@jordan.com&#91;/email&#93;
            DocumentRoot /var/www/sql-ledger
            ServerName 192.168.1.105
    </VirtualHost>
    any help is greatly appreciated, thanks in advance

  2. #2
    Just Joined!
    Join Date
    May 2005
    Location
    Canada
    Posts
    2
    sorry guys, i tried making 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •