Forum Discussion
WeBeJeepin_1470
Nimbostratus
Aug 08, 2014How to get the email address from a client certificate and send it through the header in an iRule.
Hi everyone!
I am working on an iRule to get the email address off the email client certificate and push it through the header. It is stored in an email field and the Subject Alternative Name. I am...
IheartF5_45022
Nacreous
Aug 12, 2014The email field is in subject and/or extensions - I'd try logging values from the X509 commands until you find it, then you can adjust your iRule accordingly (you'll find the logged values in /var/log/ltm);-
when CLIENTSSL_CLIENTCERT {
log local0. "Subject: [X509::subject [SSL::cert 0]]"
foreach item [split [X509::extensions [SSL::cert 0]] \n] {
log local0. "$item"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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