JSON Web Token (JWT) Parser
Hi , I am trying to copy this above code in my iRUle in LTM , but I am getting below error. Can you guide me to use JWT parsing with my LTM iRule
01071912:3: ACCESS_POLICY_AGENT_EVENT event in rule (/Common/Tablet4) requires an associated ACCESS profile on the virtual-server (/Common/tabletfour)
my current iRule code is somehting below, please let me know how can I integrate in current iRule in LTM.
when CLIENTSSL_CLIENTCERT { HTTP::release if { [SSL::cert count] < 1 } { reject } }
when HTTP_REQUEST { if { [SSL::cert count] <= 0 } { HTTP::collect SSL::authenticate always SSL::authenticate depth 9 SSL::cert mode require SSL::renegotiate
} }
when HTTP_REQUEST_SEND { clientside { if { [SSL::cert count] > 0 } {
HTTP::header insert "ClientCert-Subject" [X509::subject [SSL::cert 0]]
}
} }