Forum Discussion
Andy_4962
Nimbostratus
Feb 02, 2010Client Certificate Request on demand
Hello group!
I can not seem to get a client cert request to appear to the end user a second time in a single session.
For authentication purposes, I want to allow the end user to Login with their client cert by clicking a "Cert Login" button. The problem I'm having is, I prompt them for their cert when they first visit the site. If they choose cancel and enter the site without the cert, then when they press the Login button, the prompt never appears again for the cert. If I do not request the cert initially, then the login button works - the prompt appears and the user can login. I have tried the code below, which appears to be the solution based on articles and posts I've read here at DevCentral. It works once, but will not work twice.
when CLIENTSSL_CLIENTCERT {
HTTP::release
}
when HTTP_REQUEST {
if { [HTTP::uri] contains "login" } {
HTTP::collect
SSL::session invalidate
SSL::authenticate always
SSL::authenticate depth 9
SSL::cert mode request
SSL::renegotiate
}
I added the invalidate line to resolve issues identified with IE.
I'm running BigIP LTM V9.4.6 HF2.
Any ideas would be appreciated. I've been pouring over this for days!
Thanks!
Andy
- hoolio
Cirrostratus
Hi Andy, - Andy_4962
Nimbostratus
Thanks for the reply Aaron. - hoolio
Cirrostratus
Hi Andy, - Andy_4962
Nimbostratus
Aaron, - Andy_4962
Nimbostratus
Aaron and all interested, - hoolio
Cirrostratus
Great info...
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