Skip to content
matthiasbock edited this page Nov 22, 2012 · 15 revisions

Table of Contents

Pages

Links

Python & GPG

Login certificates

Login certificates are PKCS #12 formatted files, containing a public certificate (public key + user identity) bundled with the corresponding private key. They can be used by the user's web browser to automatically authenticate a user at login, without the need for the user to enter a password.

Both, key and identity are verified in this process:

  • server requests authentication
  • browser sends public certificate
  • server accepts the user, if the certificate itself is accepted or signed by an accepted party
  • server demands proof of private key ownership by sending a random "challenge" text
  • browser proofs private key ownership by signing the challenge with the private key and sending the signature to the server
  • login successfull
Generate using OpenSSL:
Clone this wiki locally