Forum Discussion
JRahm
Admin
Jan 22, 2026AppWorld DC Booth Kiosk Generator
Welcome to AppWorld, community! You may or may not be with us in person, but you can watch this thread for iRules that are either generated or described by the Distributed Cloud AI Assistant.
JimmyPackets
Cirrus
Mar 12, 2026AI-Generated iRule
Prompt: Route traffic to different pools based on whether the client certificate subject contains a specific OU
Generated iRule (by F5 Distributed Cloud AI Assistant):
when CLIENTSSL_HANDSHAKE {
# Check if the client certificate is present
if { [SSL::cert count] > 0 } {
# Get the subject of the client certificate
set cert_subject [SSL::cert 0 subject]
# Check if the subject contains the specific OU
if { [string match "*OU=SpecificOU*" $cert_subject] } {
# Route to pool A if the OU matches
pool pool_A
} else {
# Route to pool B if the OU does not match
pool pool_B
}
} else {
# Route to a default pool if no client certificate is present
pool default_pool
}
}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