Extract the Principal Name (UPN) from the Subject Alternative Name (SAN) iRule
I need to extract the 'Other Name: Principal Name=' from the Subject Alternative Name field in the X509, regardless of the length of the principal name value. Here is what I have so far but unsure of syntax: when HTTP_REQUEST_SEND { clientside { if { [SSL::cert count] > 0 } { set san [findstr [X509::subject_alternative_name [SSL::cert 0]] "Principal Name= 1 ]894Views0likes1Comment