1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cannot get server to respond to https request

Discussion in 'Apache' started by troyd1, May 6, 2013.

  1. #1
    I have an Xitami server and am migrating to apache httpd. I have the regular server working fine. I tried configuring ssl, but no requests are coming through. I know 443 is open on the router because it works fine under Xitami. I checked the logs and it si starting fine. I am attaching my httpd.conf and the startup log. If I try to access the website using https, it just times out and nothing goes in the log file. I replaced my domain with domain.com. I have tried many different examples, but cannot get it to work and am not sure what to do. Any help would be greatly appreciated.

    Attached Files:

    troyd1, May 6, 2013 IP
  2. troyd1

    troyd1 Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Any suggestions on how to debug this would also be appreciated.
    troyd1, May 7, 2013 IP
  3. VPSNine

    VPSNine Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    I assume your on Linux?
    Check if apache is listing on the port with a netstat -nap | grep 443
    you should get one line back that says something like
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1234/httpd

    if you do get that line you have a network/firewall issue.
    If you dont get that line your Apache config is not correct
    VPSNine, May 7, 2013 IP
  4. troyd1

    troyd1 Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Sorry, no, I am on windows xp and apache 2.4.2. What is the command for that on windows? I tried the command in a windows command prompt without the grep and it just returned headings. It appeared to only show active connections and not what port is listening. I doubt that it is a router issue as 443 works fine when Xitami is on.
    I did some research and found netstat -aon. It shows that it is listening on 443 when I start either xitami or apache. Not sure what to try next.
    I tested https on the server itself and it works. I can browse to the webpage when either Xitami or apache is turned on. From outside the network, it only works with Xitami. Looking for more suggestions.
    Last edited: May 7, 2013
    troyd1, May 7, 2013 IP
  5. troyd1

    troyd1 Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    When starting Xitami, it says listen for connections on 192.168.1.50 (the servers network ip address) and 127.0.0.1. Do I need to configure the apache conf differently to somehow accomodate this?
    troyd1, May 7, 2013 IP
  6. troyd1

    troyd1 Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    Ok, I got this resolved (kind of). I had a vpn connection on the computer I was testing with to another site active while I was trying to test this. After I disconnected the vpn, it works fine. Why would it have worked when xitami was running, but not for apache? Does it even matter?
    Last edited: May 7, 2013
    troyd1, May 7, 2013 IP