Forum Discussion

Mike_Maher's avatar
Mike_Maher
Icon for Nimbostratus rankNimbostratus
Oct 10, 2012

ssl and non-ssl on the same Virtual??

Is there a way to take ssl and non-ssl traffic for the same application all on one Virtual server?

 

3 Replies

  • For what protocol and why? for http and https, you need two virtual servers, one listening on 80 and one listening on 443.
  • You CAN actually do SSL and non-SSL on a single virtual server. Take a look at the examples for SSL::disable:

     

     

    https://devcentral.f5.com/wiki/iRules.SSL__disable.ashx

     

  • Can? yes. Should you? Probably not. It's unnecessarily complicated for little benefit.

     

     

    Anyhow, here's an example for HTTPS and HTTP:

     

    https://devcentral.f5.com/wiki/iRules.HttpHttpsSingleVirtualServer.ashx

     

     

    Aaron