Forum Discussion
tiwang_122270
Nimbostratus
Dec 06, 2013regex to get username from certificate subject
hi out there
I have a problem in getting the syntax correct for getting the username from the certificate in a apm policiy where I have added a custom expression in the visual editor and added a mess...
tiwang
Nimbostratus
Dec 09, 2013Hi Kevin Thanks for the reply - I got in the right direction with it - modified it a bit:
regexp {(?x)(CN)=([^,]+)} [mcget {session.ssl.cert.subject}] match CN USER; return $USER this gives me the username only - need now a bit extra finish but in the right diretcion thanks /ti
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