Forum Discussion
am_gli_287451
Nimbostratus
Feb 28, 2018Writing Client-Cert info into Header - irule with strange behavior
Hi,
I have an inherited a BIG-IP and I'm facing a problem with an irule that is implemented there.
The important part is this:
when HTTP_REQUEST priority 200 {
...
create HTTP head...
am_gli
Altostratus
Mar 10, 2018Figured it out - it was an issue with the space behind the comma.
So "SSL_CLIENT_I_DN: C=DE, O=Test-Organisation, OU=Test-OU, CN=Test-CN" was split to an array but, with leading spaces:
"C|AT"
" O|Test...."
" OU|Test..."
etc.
So in this part:
foreach {part myvar} {
{C} {SSL_CLIENT_I_DN_C}
{CN} {SSL_CLIENT_I_DN_CN}
{O} {SSL_CLIENT_I_DN_O}
{OU} {SSL_CLIENT_I_DN_OU}
the only line that was readable from the array was C, all other didn't match because of the space.
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