Forum Discussion
iRule proxypass with profilessl
thank you for interesting of this topic. When I sniff traffic between F5 and physical server it looks like it want use SSL but strange things are happening, because it try negotiate TLS handshake and afterwards server is sending FIN. (we are using port 4004 for this communication ). Worth to mention , when I make this without proxypass its working ...
- CA_ValliNov 29, 2021MVP
"without proxypass its working" - so, without the iRule?
is your screenshot related to SSL error that you see when iRule is configured? Does it work as expected (ssl too) when you remove iRule? I would argue that in this case, default pool will always be selected (does default pool support SSL?)
What's the output of this command? (replace IP with a member of POOL_SSL)
(echo -e "GET /test/ HTTP/1.1\r\nHost: a.b.c.com\r\nConnection: Close\r\n\r\n";sleep 1) | openssl s_client -connect 10.xxx.yyy.zzz:4004
If your iRule balances between one pool that does not support SSL, and one that does support it, and you applied serverssl profile on Virtual Server, you might want to disable SSL when non-ssl pool is selected:
when SERVER_CONNECTED {
if {[LB::server port] != 4004 } { # use "AND" statement for additional ports
SSL::disable
}
}
- TTOMDec 01, 2021Nimbostratus
hello,
yes, when I remove iRule-ProxyPass and choose as POOL server with ssl - it is working.
You are right common/default pool for this VIP doesnt have SSL, output of command on screenshot .
I had to make own lab and Its strange, I suppose issue with irule proxypass, even when I made two POOLs and each host have 443 enabled I got bad request
It looks like server is getting requests on 80, But in LTM logs we can see I have matched serverssl profile to pool in datagroup of proxypass, also it is set on VIP (server ssl profile)
- boneyardDec 04, 2021MVP
your images don't work unfortunately.
Recent Discussions
Related Content
* 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