cancel
Showing results for 
Search instead for 
Did you mean: 

Disable SSL verification before redirection - iRule

THE_BLUE
Cirrus
Cirrus

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 2

Juergen_Mang
Cirrus
Cirrus

Thats not possible. Certificate verification is done on client side (browser).

Filip_Mikulík
Altostratus
Altostratus

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.