How to start apache, ssl????

Discussion in 'Linux Networking' started by linuxquestion, Dec 31, 2003.

  1. Dear experts,

    I'm using:
    Redhat Advanced Server. Oracle 9.2

    I installed Oracle last night. At the tail end, I
    got the message:

    The HTTP Server can be accessed using the following URLs:

    Non SSL Mode:
    http://red:7777

    SSL mode (executed at install time):
    http://red:7778
    https://red:4443

    Last night, all these ports worked in a browser.

    ---------

    Today, after looking at number of executable, and
    configuration files, I started apache:

    cd /opt/oracle92/product/9.2.0/Apache/Apache/bin

    ../apachectl start
    ../apachectl start: httpd started


    Using the browser:

    http://red:7777
    - this works.

    but this does not:

    http://red:7778
    - could not connect to host red (port 7778)

    https://red:4443
    - could not connect to host red (port 4443)

    netstat -a | grep 7777
    tcp 0 0 *:7777 *:* LISTEN
    tcp 1 0 red:33091 red:7777 CLOSE_WAIT
    tcp 1 0 red:33087 red:7777 CLOSE_WAIT

    [[email protected] bin]# netstat -a | grep 7778
    - nothing

    [[email protected] bin]# netstat -a | grep 4443
    - nothing


    - the ports are in the configuration file:

    cat /opt/oracle92/product/9.2.0/Apache/Apache/conf/httpd.conf | grep 777
    Port 7777
    Listen 7777
    Port 7778
    Listen 7778
    # Example: ProcNode abc.com 7777
    ProcNode red 7777
    ProcNode red 7778


    cat /opt/oracle92/product/9.2.0/Apache/Apache/conf/httpd.conf | grep 444
    Listen 4443
    <VirtualHost _default_:4443>
    Port 4443

    Why are the ports: 7778, and 4443 not working?
    I'm sure it is because of the ssl. How do get it to work?


    Thanks
     
    linuxquestion, Dec 31, 2003
    #1
    1. Advertisements

  2. linuxquestion

    Paul Rubin Guest

    Use "apachectl startssl" if you want to run SSL.
     
    Paul Rubin, Dec 31, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.