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
[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
Do you have client authentication enabled in the web server? The SSL Authentication plugin is really just a web server authentication plugin.
Respectfully,
Ryan Lane
mediawiki-l@lists.wikimedia.org