Error in error.log?

ozgurerdogan

Verified User
Joined
Apr 20, 2008
Messages
343
When I tail error.log, I see:

tail -f error_log


[Fri May 08 22:05:35 2009] [warn] Init: SSL server IP/port conflict: www.domain.com.tr:443 (/usr/local/directadmin/data/users/admin/httpd.conf:54) vs. www.subdomain.domain.com:443 (/usr/local/directadmin/data/users/admin/httpd.conf:272)[Fri May 08 22:05:35 2009] [warn] Init: SSL server IP/port conflict: localhost:443 (/etc/httpd/conf/extra/httpd-vhosts.conf:38) vs. www.subdomain.domain.com:443 (/usr/local/directadmin/data/users/admin/httpd.conf:272)
[Fri May 08 22:05:35 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri May 08 22:05:35 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b DAV/2 PHP/5.2.9 configured -- resuming normal operations



www.domain.com.tr is the domain that is running on ssl. There is kind of issue with ssl domain and its subdomains.
How can I fix this?

Thank you
 
Thank you for posting fake domain and wasting our time.
 
If the certificate is issued for www.domain.com.tr, why should it be ok for www.subdomain.domain.com?
Unless you have a wildcard certificate for *.domain.com and you just forgot to remove the ".tr" from your bogus domain name, those are correct warnings. Warnings, so they are not errors and won't stop your server from working.
 
Just buy a 'legal' license, and give the site that needs SSL his own IP. Then you don't have a problem with it.

Other sites you can give same IP, but I always disable SSL for sites running on 'shared' ip.
 
If the certificate is issued for www.domain.com.tr, why should it be ok for www.subdomain.domain.com?
Unless you have a wildcard certificate for *.domain.com and you just forgot to remove the ".tr" from your bogus domain name, those are correct warnings. Warnings, so they are not errors and won't stop your server from working.

Yes Tillo thank you. Certificate is legal but for www.domain.com.tr and it is not a wildcard cert. I know those are correct warnings but how can I fix them so I do not see warnings. I think I will need to edit virtualhost.conf file but want to be sure about what I do. Should I simply remove the ssl sections ?

Thank you
 
Back
Top