Question

  • Creator
    Topic
  • #2138684
    Avatar photo

    SSL redirection

    Locked

    by kiran.maan ·

    Scenario:-
    A.COM, B.COM, C.COM… A & B are registered with SSL. All sites are on single Linux server and host entries made in /etc directory.

    Problem:-
    C.COM works fine with http BUT, it redirects to A.COM when I type https://C.COM.

    Can someone help me why is this happening ?

All Answers

  • Author
    Replies
    • #2886827
      Avatar photo

      Clarifications

      by kiran.maan ·

      In reply to SSL redirection

      Clarifications

    • #2886824

      Couple of thougts

      by robo_dev ·

      In reply to SSL redirection

      The DNS resolution order in host (dot) conf needs to have hosts first

      Perhaps FQDN is mismatched between server and client?

      Does nslookup return expected result?

    • #2886815

      Additional thoughts to add…

      by rob kuhn ·

      In reply to SSL redirection

      Is there a redirect in the root of C.COM ?

      Is this happening internally and externally? In other words on the LAN side instead of on the otherside of the firewall? What I’m getting at is is there perhaps a proxy server in place?

      What webserver are you running on the Linux box? If it’s Apache/Tomcat, recheck the config file too.

    • #2886791

      IP and Protocol Binding

      by chplatt ·

      In reply to SSL redirection

      DNS resolution should be fine if HTTP is working and not redirecting. I would check to see how IP and Ports are bound to the server. Sounds like the host A.COM is bound to all HTTPS protocols, port 443.

      Are you using multiple IPs or host name resolution to identify the destination site?

      • #2888114
        Avatar photo

        Reponse To Answer

        by kiran.maan ·

        In reply to IP and Protocol Binding

        This seems close to issue. Server host file is OK and entries are made proper.
        I am planning to do,
        1. Check domain registration details with GoDaddy
        2. check entries (C.COM in A.COM certificate registration) made while installing certificate

        I will update this post and activities with results…

        thanx

    • #2888210

      Curious

      by vgtsec ·

      In reply to SSL redirection

      If you figure it out post the solution here, I have had a similar issue, but I forgot what I did to fix it. I think @chplatt has it right though.

    • #2888192

      Apache

      by jaysoni86 ·

      In reply to SSL redirection

      Since its Linux server, I’m guessing you are running Apache and its because of Apache.

      Lets say there are 3 domains: a.com, b.com & c.com and ONLY b.com has SSL. So https://a.com, https://c.com and https:// (if its shared IP for all), will resolve to https://b.com [it will always show website with HTTPS]

      However, if you resolve http://, it will show the alphabetically first website on that IP i.e. http://a.com in this case.

      • #2888113
        Avatar photo

        Reponse To Answer

        by kiran.maan ·

        In reply to Apache

        I doubt for it.

Viewing 5 reply threads