Ok guys, I have another problem.
Now when certificates are working I want to extract information from client certificate and make authorization based on, for example, name of client or email address.
Here we can find that $_SERVER['SSL_CLIENT_CERT'] should return some weird stuff about certificate, ok I have this encoded part. When I am trying to do
openssl_x509_parse(...) it prints nothing, but when I assign it to some variable and then print the variable I've got
Array output.
Where am I doing this wrong?