Modifying HTTP header on the basis of SSL certificate
Hello,
So this is what my use case looks like. I am building a service to which users can upload their files via cURL. The service is load balanced by F5. In order to authenticate themselves, users provide a signed certificate while uploading. I would like to do two things in F5:
1. Do a validation of the certificate presented by the client.
2. Once validated, extract some custom fields from the certificate and send them to my web service embedded within the HTTP header.
With my initial research, I feel like an iRule should be a good way to achieve this, atleast do the modification of the HTTP header and add fields to it. Any suggestions/hints on how that can be done would be highly appreciated. I am a very newbie to F5.
Thanks in advance,