Forum Discussion
Dealing with a comma on the X509::issuer field
Hello folks
We're running an old version of F5 (10.2.4 - I know, don't blame me). We're using an iRule extracting the Client Certificate issuer using [X509::issuer] command. The problem is the cert has a comma in the CN like "Entrust, Inc." and teh [X509::issuer] is introducing a backslash in the result: "Entrust\, Inc." We're comparing this result agains a Data Group List containing the string without the backslash.
Do you know how to escape that backslash or to remove it from the X509::issuer output?
Thanks in advance Vicentiu
- jaikumar_f5
Noctilucent
How about a trim, then use the trimmed_issuer to match the class.
set orig_issuer "[X509::issuer]" set trimmed_issuer [string trim $orig_issuer "\"]
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