Forum Discussion
Ted_51200
Nimbostratus
Mar 28, 2008Pull info from SSL Client Cert
I need an irule to pass on Client Cert information from a HTTPS request to the backend pool
Attributes I'd like sent along in HTTPS headers:
Certificate status - The status of the client certificate. The value of [status] can be NoClientCert, OK, or Error. If status is NoClientCert, only this header is inserted into the request. If status is Error, the error is followed by a numeric error code.
Certificate serial number
Issuer of the certificate
Certificate subject (Distinguished name or DN)
Thanks to anyone that can help me out.
- Nicolas_Menant
Employee
Hi,when HTTP_REQUEST { set pkiSubject [X509::subject $the_cert] set pkiIssuer [X509::issuer $the_cert] HTTP::header insert CN $pkiSubject HTTP::header insert SSLIssuer $pkiIssuer HTTP::header insert SSLClientCertSN [regsub -all {:} [X509::serial_number $the_cert] -] }
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