atoth
Mar 02, 2017Cirrus
http to http without a 30x redirect?
Sorry, question should say http to https without a 30x redirect.
when HTTP_Request {
if
set usessl 1
} else {
set usessl 0
}
}
when Server_Connected {
if { $usessl == 1 } {
ssl::profile
} else {
ssl::disable
}
Code
What I'm trying to do is go from a unencrypted vip to an encrypted vip without using a 301 redirect. What I've done is put a server ssl profile on the vip and hoped that it would use when it connected to the destination vip, but when I curl to the source vip, it looks like the ssl session fails prematurely. Anyone know what might be going on?