Forum Discussion
Stanley_87566
Sep 06, 2012Nimbostratus
iRule for certificate injection into the HTTP header
I tried below iRule according to McAfee KB for their MDM solution. But it seems not work, is there any sample on the VS, Pool config.? How to configure the F5 "request a certificate"? Is it only assi...
Kevin_Stewart
Sep 06, 2012Employee
At a minimum you need a client SSL profile applied to the VIP with the following characteristics:
Certificate - the server SSL certificate
Key - the server SSL key
Client Authentication Client Certificate - set to ignore
Client Authentication Trusted Certificate Authorities - set to the CA certificate (or chain) that can validate the client's certificate
Client Authentication Advertised Certificate Authorities - set to the CA certificate (or chain) to customize the browser's certificate choices
The above iRule could be simplified greatly if you just set the client SSL profile's Client Authentication Client Certificate to Request or Require. The profile now controls the request of client certificate and your iRule can look like this:
when HTTP_REQUEST {
HTTP::header insert X-Client-Cert [b64encode [SSL::cert 0]]
}
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