Solved

SSL localhost.localdomain instead of my dot com

Posted on 2013-01-28
3
801 Views
Last Modified: 2013-01-31
I have pointed to the SSL certificates in the VirtualHost in httpd.conf as I have on all my web servers but in this case it's pulling localhost.localdomain instead of my dot com.

I know the httpd.conf is correct because I copied it from a working server. The ssl.conf file was also copied from working server.

I've done this many times and it's worked fine until I updated php to 5.3 from 5.1. Not sure how to proceed.
0
Comment
Question by:jasonslogan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 38829985
Usually the virtualhost that is tied to port 443 is in SSL.conf
You can only have one virtualhost that is bound to port ip:443
Can you post the configuration?
0
 
LVL 50

Expert Comment

by:Steve Bink
ID: 38830259
>>> I know the httpd.conf is correct because I copied it from a working server

I love that statement.

Chances are, you left a default host enabled in your conf files.  As arnold pointed out, a specific IP:port combination is bound to a single certificate.  In Apache, if you have more than one certificate bound to an IP:port, Apache will use whichever it finds first.  In some default installations, Apache is pre-configured with a default SSL host, using a certificate for localhost.localdomain, and it will usually be found first unless you have taken care to disable or move it.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 38832946
> ..  it's pulling localhost.localdomain
can you please explain what you mean by that? best with an example URL
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question