Forum Discussion
b_seweryn_15157
Nimbostratus
Dec 14, 2015choose SSL profiles based on context
Hi All,
do you have any idea how to prepare iRule that will choose proper ssl profile based on URI context?
so something like that:
test.domain.com/abc goes to SSL_profile_1
test.domain.com/def ...
Michael_Jenkins
Cirrostratus
Dec 14, 2015Because of the way SSL works, you won't be able to see the URI until after the SSL negotiation has taken place, as the URI is encrypted. The server won't know the URI until it has already negotiated everything with the browser (i.e. it's already specified a certificate and the browser has accepted it). That means you wouldn't be able to use URI as a decision point.
One thing you could consider is using SNI which would allow you to decide based on different hosts.
Hope this helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects