Reputation: 2141
I have done a bit of searching on this topic and have not found something showing what I want to do. I am sure that my query is wrong, but don't know how to word it.
My VPS is configured with Centos 7, LAMP and OpenSSL 1.0.1e-fips.
My domain is secured with TLS and scores A on https://www.ssllabs.com/ssltest. Would be an A+ like my other domains, but I think that it cannot get past the CAC authentication part to test for HST.
Anyways, I would like to detect that a smart card is inserted before going to authentication. If card is not inserted I would like to redirect to another page.
Is this possible?
Any help or links would be greatly appreciated.
Thanks, SUB
EDIT: I have the CAC authentication working on domain.
Upvotes: 0
Views: 226
Reputation: 4142
Not really possible with a plain browser, unless you have some plugin to detect the presence before starting TLS.
The closest I know is playing with nginx 49X errors (forget Apache): http://nginx.org/en/docs/http/ngx_http_ssl_module.html#errors
Upvotes: 1