[Mediawiki-l] problems with SSL authentication
Riccardo Veraldi
Riccardo.Veraldi at cnaf.infn.it
Mon Dec 6 14:40:19 UTC 2010
Hello,
I enabled the mediawiki SSL authrntication extension.
Following the instructions wiki it works and I can login with my x509
certificate and user is created the first time.
The problem is tht I got these errors in ssl_error_log
[Mon Dec 06 15:32:44 2010] [error] [client 172.16.10.58] PHP Notice:
Undefined index: SSL_CLIENT_S_DN_Email in
/var/www/html/wiki/LocalSettings.php on line 185
[Mon Dec 06 15:32:44 2010] [error] [client 172.16.10.58] PHP Notice:
Undefined index: SSL_CLIENT_S_DN_Email in
/var/www/html/wiki/LocalSettings.php on line 185
this is my LocalSettings.php
require_once('extensions/SSLAuthPlugin.php');
$ssl_RN = $_SERVER['SSL_CLIENT_S_DN_CN'];
$ssl_UN = $_SERVER['SSL_CLIENT_S_DN_CN'];
if ($_SERVER['SSL_CLIENT_S_DN_Email'] != '' ||
$_SERVER['SSL_CLIENT_S_DN_Email'] != NULL )
$ssl_email = $_SERVER['SSL_CLIENT_S_DN_Email'];
else
$ssl_email = '';
SSLAuthSetup();
actually error reported correstpons to the line above where variable
SSL_CLIENT_S_DN_CN and SSL_CLIENT_S_DN_Email are used.
any clue on this ?
thanks
Rick
More information about the MediaWiki-l
mailing list