huckerby Posted October 27, 2008 Share Posted October 27, 2008 Hia, ive got a little problem an i dont know really how i can solve it=).. (srj my english is not perfect coze i'm from switzerland(europe=) )... Scenario: I have an Apache Webserver and an Dyndns.org and an Internal(for the intranet) Domain . I made two virtual hosts: One for the Dyndns.org Domain and one for the internat Domain. I created two certificates for using those domains over https. The internal domain works with https. The DynDns Domain doesnt. (it just works over http(80). ) I have an Cisco 1812W Router but i can acess it over https, so i dont think its an firewall Problem or somethin like that. Did i made an Mistake in my httpd.conf ? I already tested it with an new Certificate. For Virtual Host1: (Server=dyndns.org). And for Virtual Host2: (Server=<privat IP>) Here my Config: (192.168.1.4= examples) Listen 443 ... NameVirtualHost 192.168.1.4:443 <VirtualHost 192.168.1.4:443> ServerName 192.168.1.4 ServerAdmin mail@localhost DocumentRoot /var/www/html SSLEngine On SSLCertificateFile /usr/local/httpd/ca/cert.cer SSLCertificateKeyFile /usr/local/httpd/ca/cert.key <Directory "/var/www/html"> AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost 192.168.1.4:443> ServerName example.dyndns.org ServerAdmin mail@localhost DocumentRoot /var/www/html SSLEngine On SSLCertificateFile /usr/local/httpd/ca/cert.cer SSLCertificateKeyFile /usr/local/httpd/ca/cert.key <Directory "/var/www/html"> AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> Quote Link to comment Share on other sites More sharing options...
trq Posted October 27, 2008 Share Posted October 27, 2008 They are both using the same ip and cert. One should be an internal ip the other your external. And no, this is not a poll. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.