10-Oct-2023 08:42
VS address: 10.1.20.43
VS port: 443
There are two SSL Profiles on F5: web1-ssl and web2-ssl.
I want to use an iRule to control the selection of which SSL certificate to use based on SNI:
For example, when a user visits web1.com, the VS uses the SSL Profile web1-ssl;
When a user accesses web2.com, this VS uses the SSL Profile web2-ssl.
Please tell me, how should I write this iRule?
grateful!
Solved! Go to Solution.
10-Oct-2023 10:15
@shixin You do not need an iRule for this because the F5 does this provided you enable SNI on the VS and configure the SSL profile fields appropriately. This document might assist you in this process.
10-Oct-2023 10:15
@shixin You do not need an iRule for this because the F5 does this provided you enable SNI on the VS and configure the SSL profile fields appropriately. This document might assist you in this process.
10-Oct-2023 21:08
At first I wanted to use iRule to identify SNI, but I couldn't do it after trying many times; but based on this article you provided, I achieved the effect I wanted, thank you!
11-Oct-2023 17:33
@shixin You could probably do this via iRule but it would be much more complicated then just configuring it the way the document outlines.