This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Apache, vhosts, ssl & client authentication

I want to set up a apache server with several vhosts. Each vhost does require client authentication. 

Since the ssl certificates should be issued on a per ip-basis each vhost  needs to be asociated with a different IP address.

However my apache server is behind the ASL firewall and the address is translated by DNAT.

The easiest solution to me seems that each domain is addressed on a different port on the server, like
www.domain1.com:443 gets redirected to vhost1.localdomain.com:443
www.domain2.com:10000 gets redirected to vhost2.localdomain.com:10000
etc........

However this does not seem like a very elegant solution to me. It would be nice if one could redirect the incoming https request on basis of the domian name such that all request can remain on the default https port 443.

Is this somehow possible or should I setup my vhosts in a different way?  


This thread was automatically locked due to age.
Parents
  • If you have more more then one IP on your external interface, then you should have no problem, but if you have only one IP, then there is no way to achieve what you want, because astaro does not provide vhost redirecting!

    BR, Matjaz 
Reply
  • If you have more more then one IP on your external interface, then you should have no problem, but if you have only one IP, then there is no way to achieve what you want, because astaro does not provide vhost redirecting!

    BR, Matjaz 
Children
No Data