Forum Discussion
ITZBund_177779
Nimbostratus
Feb 06, 2018HTTP-Header - insert client-cert -- blank at last?
I have a iRule like this:
when HTTP_REQUEST {
check if there is a SSL certificate available
if { [SSL::cert count] > 0 } {
insert this cert in PEM format to the (X-ENV-SSL_CLIENT_CER...
youssef1
Cumulonimbus
Dec 10, 2018Hi,
I do not think space can pose a problem, but it's depending how Apache will react and what it waiting for. So you confirm that your problem come from Apache? when it receive the cert inside the header...
You can remove newline/space using this command;
set clear_cert [findstr [string map {" " "" "\n" ""} [X509::whole [SSL::cert 0]]]
Keep me in touch.
regards
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