Redirect SSL connection to new URL before SSL handshake
I did search for this and saw all the articles that this cannot be done, but have someone insisting that it is possible so I'm asking and hoping that the answer has changed since the last articles I saw on this from 2012.
Scenario: My company was purchased and now we are working to relocate everything to the new domain. I have several existing SSL sites running in my LTM v11.4 system. I need to redirect these connections from site.domain1.com to site.domain2.com. During the time my certs are still valid for domain1 this is not an issue, but I have not found a way to initiate the irule before the user gets the warning about the cert being expired.
Current irule: when HTTP_REQUEST { if { [string tolower [HTTP::host]] contains "domain1.com"} { HTTP::redirect https://site.domain2.com/[HTTP::uri]}
Is there another trigger I can use in place of HTTP_REQUEST to cause the rule to run before the users get the certificate expired warning?