Forum Discussion

THE_BLUE's avatar
THE_BLUE
Icon for Cirrostratus rankCirrostratus
Jun 02, 2022

Disable SSL verification before redirection - iRule

I have website https://xyx/ with expired certificate  , and i wanted to redirect it to https://zyz  with valid certificate.

the redirection is addedd using iRule :

when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "xyx" } {
HTTP::redirect "https://zyz"
}
}

now when i tried to access xyx certificate warning is displayed and after i accept certificate exception the redirection will happen . so now i need to remove ssl verfication i want to redirect directly without checking the certificate.

2 Replies

  • Hello,

    this is not possible as Juergen wrote.

    Because the data (and information about redirect) are transferred inside of the established SSL tunnel. So the server certificate verification (on client side) is performed before the client gets information about redirect.