reading the subject of the client cert


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $ccert = $_SERVER['SSL_CLIENT_CERT'];
  2. $parsed = openssl_x509_parse($ccert);
  3. var_dump($parsed);

URL: http://blog.connor.hu/2009/12/20/ccert-based-auth-es-az-apache_getenv/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.