LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 16 Apache SSL Certificates: authorization based on name of client or email address (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-16-apache-ssl-certificates-authorization-based-on-name-of-client-or-email-address-944894/)

goral09 05-14-2012 04:24 AM

Fedora 16 Apache SSL Certificates: authorization based on name of client or email address
 
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?


All times are GMT -5. The time now is 02:17 PM.