Forum Discussion
SSL::profile errors
I need help with this iRule... In some VS, when /images* is invoked, we need to redirect the traffic to another pool and change from HTTP to HTTPS in the backend.
For this purpose I've created this iRule:
when SERVER_CONNECTED {
set sp [LB::server pool]
log local0. "Server pool: $sp"
if { [IP::addr [LB::server addr] equals 10.75.64.175 ]} {
SSL::profile sslmyappimages
SSL::enable serverside
log local0. " Asignando nuevo perfil para pool de myserver.com/images"
}
else
{
log local0. " No se asigno nuevo perfil para pool de myserver.com/images"
}
}
It doesn't work, and the logs in /var/logs/ltm goes like this:
Apr 6 13:04:00 local/tmm1 err tmm1[5535]: 01220001:3: TCL error: imagesirule - wrong args: should be "SSL::profile " while executing "SSL::profile sslmyappimages"
I don't have a clue why is that happening, I also tried without SSL::enable serverside, and I think I'm following this syntax http://devcentral.f5.com/wiki/defau...nable.html
I've been careful with spaces... simply don't understand...
Thank you!!
14 Replies
- Eric_27859
Nimbostratus
Thank you for helping me! - Colin_Walker_12Historic F5 AccountNo problem, I take it that means it works? ;)
Colin - Eric_27859
Nimbostratus
Working fine :)
It would be nice to have the chance to define or configure server side ssl on the pool / member configuration too (as you can in some old NetContinuum appliances) or in the iRule without any ssl profile defined on the VS...
I'm ok if it works :)
Thanks again! - hoolio
Cirrostratus
Hi Eric,
I think the requirement to add a server SSL profile is fairly embedded in the logic. And I think we've shied away from having profile configurations on pool objects. But you can always open a request for enhancement case with F5 to make the request.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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