httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batrist...@mediageneral.com
Subject [users@httpd] Problem with multiple certificates on apache
Date Thu, 24 Jul 2003 17:23:24 GMT
Greetings,
I'm having a problem trying to host 2 sites with port 80 and port 443 on the
same webserver although I have given the sites 2 distinct ips.  When I go to
view the 2nd site I get an error message saying my certificate doesn't match the
site and when I click okay I get the first ssl site.

Any suggestions?  I've copied my httpd.conf file below

Thanks,
bobbie


-------------------HTTPD.CONF------------------------------------------
NameVirtualHost *:80
NameVirtualHost *:443


#NameVirtualHost *
#NameVirtualHost 199.193.12.43

<VirtualHost *:80>
ServerAdmin root@placeanad.tbo.com
    DocumentRoot /u01/tampa_test
    ServerName adtest.tbo.com
    ErrorLog logs/adtest.tbo.com-error_log
    CustomLog logs/adtest.tbo.com-access_log common
    ScriptAlias /cgi-bin/ "/u01/tampa_test/cgi-bin/"
    ScriptAlias /admin/ "/u01/tampa_test/admin/"
    <Directory /u01/tampa/admin>
     AllowOverride AuthConfig
    </Directory>
</VirtualHost>

<VirtualHost 207.243.40.43:80>
    ServerAdmin root@placeanad.tbo.com
    DocumentRoot /u01/tampa
    ServerName placeanad.tbo.com
    ErrorLog logs/placeanad.tbo.com-error_log
    CustomLog logs/placeanad.tbo.com-access_log common
    ScriptAlias /cgi-bin/ "/u01/tampa/cgi-bin/"
    ScriptAlias /admin/ "/u01/tampa/admin/"
    <Directory /u01/tampa/admin>
     AllowOverride AuthConfig
    </Directory>
</VirtualHost>

#<VirtualHost *:443>
#ServerAdmin root@placeanad.tbo.com
#    DocumentRoot /u01/tampa_test
    #ServerName adtest.tbo.com
   # ErrorLog logs/adtest.tbo.com-error_log
   # CustomLog logs/adtest.tbo.com-access_log common
   # ScriptAlias /cgi-bin/ "/u01/tampa_test/cgi-bin/"
   # ScriptAlias /admin/ "/u01/tampa_test/admin/"
  # SSLEnable
  #  SSLCertificateFile /usr/local/apache/conf/ssl.crt/placeanad.cert
  #  SSLCertificateKeyFile /usr/local/apache/conf/ssl.crt/dustinprivate.key
  #  <Directory /u01/tampa_test/admin>
  #   AllowOverride AuthConfig
  #  </Directory>
  #  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
#</VirtualHost>

<VirtualHost 207.243.40.43:443>
ServerAdmin root@placeanad.tbo.com
    DocumentRoot /u01/tampa
    ServerName placeanad.tbo.com
    ErrorLog logs/placeanad.tbo.com-error_log
    CustomLog logs/placeanad.tbo.com-access_log common
    ScriptAlias /cgi-bin/ "/u01/tampa/cgi-bin/"
    ScriptAlias /admin/ "/u01/tampa/admin/"
    SSLEnable

    SSLCertificateFile /usr/local/apache/conf/ssl.crt/placeanad.cert
    SSLCertificateKeyFile /usr/local/apache/conf/ssl.crt/dustinprivate.key

    <Directory /u01/tampa/admin>
     AllowOverride AuthConfig
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot /usr/local/jakarta-tomcat-4.1.12/webapps
    ServerName gdttest.mgnetwork.com
    ErrorLog logs/test.com-error_log
    CustomLog logs/test.com-access_log common
</VirtualHost>

<VirtualHost 207.243.40.37:443>
    DocumentRoot /usr/local/jakarta-tomcat-4.1.12/webapps
    ServerName placeanad.classifiedmarketplace.net
    ErrorLog logs/placeanadclassi.com-error_log
    CustomLog logs/placeanadclassi.com-access_log common
    SSLEnable
    SSLCertificateFile /usr/local/apache/certs/nc1public.cert
    SSLCertificateKeyFile /usr/local/apache/certs/nc2private.key
</VirtualHost>

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message