A
A
Anton Pronin2014-12-02 05:28:15
Nginx
Anton Pronin, 2014-12-02 05:28:15

How to implement user authentication through certificates?

Good day, the question is the following. I want to implement user authentication through certificates, but I don’t know in advance the number of users who will use the system. But the user will be entered by the administrator, the password will be generated automatically
Options:
1. When creating a user, a certificate is generated that is sent to the user when the password is entered for the first time.
2. The certificate is generated on the user's side, after entering the password and sent to the server.
Tell me which option is better, or offer your own solution.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Ergil Osin, 2014-12-02
@nightw0rk

Isn't it easier to generate a certificate and send it to the user for soap? Somewhere I even had a script that I generated certificates and immediately sent to the user, I think this shell script can be pulled from your registration system if desired.

M
Maxim Vasiliev, 2014-12-02
@qmax

How do you generate a certificate on the user side?
It must also be signed by CA.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question