Forum Discussion
Robert_Decker_2
Nimbostratus
Apr 21, 2006how to add client cert info to ocsp request
Could somebody tell me how to include ssl cert info into the following irule listed below.
when CLIENT_ACCEPTED {
set tmm_auth_ssl_ocsp_sid [AUTH::start pam default_ss...
Robert_Decker_2
Nimbostratus
Apr 24, 2006Sorry about the generic question... I will try to do better… I am trying to add the ssl cert fields as http headers to an ssl ocsp Irule that allows redirection. Below are the fields I would like to include:
HTTP::header insert SSLClientCertStatus $y
HTTP::header insert SSLClientCertValidFrom [X509::not_valid_before $y]
HTTP::header insert SSLClientCertValidUtil [X509::not_valid_after $y]
HTTP::header insert SSLClientCertSubject [X509::subject $y]
HTTP::header insert SSLClientCertIssuer [X509::issuer $y]
I am not really sure where I need to add lines to create the cert fields. The Irule usually breaks and states that the variable doesn't exist every time I try to add lines from other Irules that deal with SSL certs.
In addition, I would like to redirect all expired and revoked certs, but it seems like the Big IP checks its local date and resets the connection before it even reaches the Irule (please correct me if I am wrong on this). I would like to include an "HTTP::repond 301 content http://x.x.x.x" or "Http::redirect http://x.x.x.x" line to AUTH FAILURE, AUTH_WANTCREDENTIAL, and AUTH_ERROR, but it seems like it will not work. I noticed the previous Irule on another post and am trying to make the redirection function work. Please let me know if there is a simpler way of doing this.
Any help would be greatly appreciated.
Thank you,
Rob
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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