Forum Discussion
El-Guapo_29797
Mar 19, 2014Nimbostratus
You have two Certs and one VIP. The way to fix this is either ask the CERT Provider like verisign, Thawte or whomever issued the CERT to combine two CERTS into one. If you view a CERT, click on Detail & find subject alternative names.. The CERT will then have both URL's (one with www and one without)... Or, you can do what I would do and add an iRule to virtual server to remove www & all will work. Here is the iRule.
when HTTP_REQUEST {
Check if the host starts with www.
if {[string tolower [HTTP::host]] starts_with "www."}{
Redirect with the www. prefix removed to the same URI
HTTP::redirect "http://[string range [HTTP::host] 4 end][HTTP::uri]"
}
}