Forum Discussion

dgcorream_30182's avatar
dgcorream_30182
Icon for Nimbostratus rankNimbostratus
Dec 05, 2016

Select pool based on client certificate and URI

Hi.

 

I am new on Irules and I have this requirement:

 

It is a VS and it is needed this conditioning based on client certificate and URI in order to select the pool:

 

if client sends ssl certificate set HEADER1 and balance to pool1 else if clients connects and URI matches /static balance to pool2 else balance to pool3

 

HEADER1: add header X-SSL-Client-CN and set it as %[ssl_c_s_dn(cn)]

 

Thanks a lot for any answer.

 

Best regards