Forum Discussion
LTM 11.3 with APM: smart card authentication not working
But I don't know how to use the results from the "userPrincipalName=%{session.ssl.cert.upn}" query to put that variable directly inside the username source value of the Kerberos SSO profile
Simply assign this session variable (session.ssl.cert.upn) as the Kerberos SSO username source value. But wait, you're not going to be able to use the userPrincipalName (SAN UPN) from the CAC directly. You must query the AD (LDAP or AD query) and retrieve the user's sAMAccountName and use THAT value in the username source field of the Kerberos SSO. You can test Kerberos SSO directly simply by adding a variable assignment at the very end of the policy, just before the Allow block, and statically assign a value to the username source variable:
session.ssl.cert.upn = expr { "bob.user" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
