Rank: Advanced Member Groups: Member
Joined: 5/9/2016 Posts: 84
|
Is there any event so that I can capture any client certificate missing or error?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
I am not sure if I understand your question. What kind of client certificate error are you talking about? And what do you mean by client certificate missing? When a client certificate is needed, your code is responsible to provide it. Isn't it considered "missing" if you just don't provide it?
|
Rank: Advanced Member Groups: Member
Joined: 5/9/2016 Posts: 84
|
Ok, sorry if I do not understand the exact workings of HTTP protocol. But I was just assuming that if no or wrong certificate was presented it would generate an error. So I was just asking about if there was such an event reacting on that. But as I understand there is no such event - only the Certificate request event.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
Such error could be generated by your web server on the server side, not by the browser on the client side. The basic flow is the server asks for a certificate, and the client can decide to provide or not to provide one. The server then decide whether this is acceptable. It can refuse the request if client doesn't provide a certificate at all, or only refuse if client provides an invalid certificate (for example, a self signed certificate that the server can't trust), or it can ignore the issue all together. However it is it is up to the server, not the client.
Thanks!
|