i have an NGINX Webserver. I protect a site with client certificates. All works fine, i am just able to access the site, if i have the client cert installed.
ssl_client_certificate /path/to/ca.crt;
ssl_verify_client on;
But, how can i revoke a cert? Eg. i want to revoke the access of a friend of mine. I did not found any possibility...
I created the client-cert with these commands:
openssl genrsa -des3 -out client.key 4096
openssl req -new -key client.key -out client.csr
openssl x509 -req -days 365 -in client.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out client.crt
The only way i found was with a CLR-List, is this right? And is there somewhere an example how to do this?
My "Setup" right now is a Debian Server running NGINX and OpenSSL. I created an ca with, and then i authorized the Clients with that.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
I used this guide: https://gist.github.com/mtigas/952344
Like i said, the way of protecting works, but i just cant remove the cert...
Sorry, if this is a stupid question, I'm new with OpenSSL...