1 comment

[ 2.8 ms ] story [ 15.2 ms ] thread
Turns out it is surprisingly easy to require Estonian ID-Card login on a web side. Just add those 3 lines to your nginx server block and you are done.

  ssl_client_certificate /etc/ssl/certs/EID_Bundle.pem;
  ssl_verify_client on;
  ssl_verify_depth 2