Forum Discussion
How to send http post with https using irule
I am testing google Captcha 2.0 using irule. When F5 try to post the challenge result to https://www.google.com/recaptcha/api/siteverify, F5 posts it using http instead of https.
Please find the irule related to the connection to google as follow,
set conn [connect -timeout 1000 -idle 30 -protocol TCP $google_ip:443] send -timeout 1000 -status send_status $conn $recaptcha_verify_request
Please help with posting the challenge with HTTPS.
Thanks
1 Reply
Hi Chris,
a SIDEBAND connection does not have a build-in SSL support.
You have to point your SIDEBAND connection to a (helper) HTTP Virtual Server (e.g. HTTP:8888) that has an Server_SSL_Profile applied and finally points to a HTTPS:443 pool/node (aka. the https://GoogleSite).
Then change the syntax of your iRule to...
set conn [connect -timeout 1000 -idle 30 YOUR_VIRTUAL_NAME] send -timeout 1000 -status send_status $conn $recaptcha_verify_requestCheers, Kai
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