V
V
Vasily2013-06-26 04:51:39
Nginx
Vasily, 2013-06-26 04:51:39

How to close an SSL session in nginx when authorized with a certificate?

I broke my head over this problem:
We have nginx 1.5.0 with SSL enabled and user authorization through certificates ( ssl_verify_client optional).
When you log in via https, an attempt is made to authorize through a certificate (it doesn’t matter if it’s successful or not), after that an ssl session is established and the result of the client certificate authorization is stored in it.

Question: How to close the session forcibly (unlogin in short) so that the certificate selection window appears again?!
Tricky headline? nginx directive? JavaScript from the browser? Something else?
Thanks in advance for any thoughts along these lines.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexmuz, 2013-07-02
@alexmuz

It is necessary to execute javascript on the client:
window.crypto.logout();
It does not work in all browsers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question