Simon_Poirier_7
Oct 12, 2011Nimbostratus
iRule to have 2 SSL Cert on 1 virtual server
Hi,
I'm trying to get one virtual server to respond with 2 different certificats depending on the domain type by the user
here what I have but it didn't work
when HTTP_REQUEST {
$dom = [HTTP::host]
}
when CLIENT_ACCEPTED {
if { $dom equals "webmail.domainone.com" } {
SSL::profile ucc_webmail.domainone.com
} elseif { $dom equals "webmail.domaintwo.com" } {
SSL::profile ucc_webmail.domaintwo.com
}
}
I would really appreciate any help on that
Thanks
Simon