Forum Discussion
Tom_Lebel_53961
Nimbostratus
Oct 03, 2006Need to give no client cert message to users
Hi all,
I need a quick little rule to see if a user coming in to our Intranet has their client certs loaded, and if not let them know in a short message.
If they do have certs, nothing needs to happen, just continue processing.
The rule I've started doesn't work. It always sends the No Cert message.
Any help is appreciated.
when HTTP_REQUEST {
if {[SSL::cert count] == 0}
{
log local0. "when http request,ssl cert count is 0,now http collect"
HTTP::respond 200 content "No Cert Present We are sorry, bu there appears to be no certs present in your browser. If you have recently renewed your CAC card, please reinstall your certificates, otherwise contact the help desk"
}
}
Tom
No RepliesBe the first to reply
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