Forum Discussion
RealM
Nimbostratus
Mar 21, 2023SSL Handshake failed for TCP - Android Application Request
Hey everyone, I'm developing an android application using React Native. While trying to call an API that sits behind f5 an error is being received and the following error appears in f5 logs: "SSL...
Deb_Allen_18
Oct 18, 2006Historic F5 Account
Edited above for clarity.
Also wanted to say that hoolio's recommendation to combine the rules is F5 Product Development's recommended best practice (whenever possible), rather than configuring multiple rules on the same virtual server, due to the issues stephen is encountering.
/deb
- Hi Sean,
when HTTP_REQUEST { switch [string tolower [HTTP::host]] { "domain1.com" - "www.domain1.com" { HTTP::redirect "https://domain1.domain2.com[HTTP::uri]" } } }
- Sean_O_Brien_65Apr 13, 2010
Nimbostratus
I did apply iRule to HTTP and HTTPS VIP after troubleshooting, but that made no difference. - If blah.domain2.com and another hostname like domain1.com or www.domain1.com are resolving to the same VIP, then clients will get a mismatched cert warning on HTTPS requests when trying to access a hostname that the cert isn't issued for. You would want to have a cert installed which matches the hostname(s) that the client is making the request to--not the domain that you're redirecting the clients to.
- Sean_O_Brien_65Apr 13, 2010
Nimbostratus
I think I just found my error... I had inadvertently set the SSL client and SSL server profiles to my HTTP VIP... That was causing the block or dropped requests... - That sounds about right. Forwarding to a second VIP won't help with trying to handle multiple certs on a single client facing IP address:port combination as you'd need to try to decrypt the SSL on the first VIP before knowing which traffic to forward to the second VIP. Sending the "wrong" cert on the first VIP to the client will trigger the mismatched cert warning on the browser before you can send the request to the second VIP with the "correct" cert.
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