Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.68 sec)
SSL Certificate + Apache problem

I have an Apache server with multiple vhost on different IP addresses. I setup one vhost with a certificate and everything works fine but when I setup another vhost with a certificate it overrides the previous certificate and both sites use the new certificate. Both vhost use different IP addresses. I have checked my confs and they are correct but I must be missing something.

Ubuntu 10.04

Apache 2.2.14

PHP
Asked by:
fieropunk
260 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: SSL Certificate + Apache problem
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (1)

Figured it out. ServerName directive needs to be declared in the vhost files when using multiple certificates.

Response by:
fieropunk
260 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle