Forum Discussion
ahmad_2312
Nimbostratus
Feb 03, 2010Remove whiteSpace from the Certificate
Dears
we need to send the client certificate to our back-end server for authentication, but the server is expecting the certficate as the following (without whitespace)
...
hoolio
Cirrostratus
Feb 14, 2010Sorry, I should have noticed this before. It's probably carriage return and/or line feeds--not spaces--in the cert string. Can you try using string map to remove the whitespace?
set certnospace [string map -nocase {\n ""} $thecert]
or:
set certnospace [string map -nocase {" " "" \n "" \r ""} $thecert]
Aaron
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