Extension:DigitalCertificate

From MediaWiki.org

Jump to: navigation, search

   

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Digital Certificate

Release status: experimental

Description
Author(s)  Ricardo Kehrle (rickehrleTalk)
License GPL
Download no link

check usage (experimental)

This extension is about athentication via mod_ssl when a user has a X.509 digital certificate in pkcs12, smart card and so on. There's already an extension that does this kind of authentication which is SSL Authentication extension by Martin Johnson. So why another one? We wanted one that fit the brazilian citizen register(CPF or e-CPF in this case) standart which is recently being implemented. It consists in the user, that is already registered by the website, having his card info stored in the database and once agreed in using the card in that website never more will he/she be able to login with username and password again for legal reasons. Although, it's also possible to let the users use both the traditional form and certificate by configuring it in your LocalSettings. It should be clear that this extension's code has nothing to do with SSL Authentication's one. It is a new code since Martin's is quite complex for me and my time to make it was short. The advantage is a simpler code, that may have some issues that I'm trying to discover, and I'm almost sure everyone can understand it in a few minutes.

Contents

[edit] Download instructions

It will be placed here when ready for use or tests.

[edit] Installation

To install this extension, add the following to LocalSettings.php:

#configuration parameters
#set this to true if you want certificated users login via username/password form too
$wgDigiCertFormLogin = false; 
require_once("$IP/extensions/DigiCert/DigiCert.php");

[edit] Code

#Will be put and explained here.

[edit] See also

Extension:SSL authentication