Forum Discussion
Squeak_117117
Nimbostratus
Jun 16, 2017Insert client certificate into APM session variable via IRule
Hello!
First time poster longtime reader.
I´m trying to extract the Subject value from a client certificate and insert the value in to a APM session variable but with no luck.
The Irule in ques...
Jad_Tabbara__J1
Cirrostratus
Jun 16, 2017Hello Squeak,
Have you added the event "Access_Policy_Agent_Event" to set your variable ?
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "id_of_your_irule_event" } {
ACCESS::session data set session.client.unique_id $subject
log local0. "Verifying the value of unique_id ===> [ACCESS::session data get session.client.unique_id]"
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects