A
A
Alexander Savenko2014-05-22 15:49:50
Digital certificates
Alexander Savenko, 2014-05-22 15:49:50

How to specify the login in the certificate for authorization through the site and get it via php?

Hello!
It is required to make authorization through the site using a certificate. Instructions on how to set up a server and issue a certificate to a user can be found here www.opennet.ru/base/sec/ssl_cert.txt.html . Question - how to embed the user's login into the certificate and get the login via php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Khabarov, 2014-05-22
@Saymon21

Look in phpinfo for the presence of the DN in the _SERVER array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question