Skip to Content.
Sympa Menu

fr - Re: [sympa-fr] Authentification avec un certificat

Subject: Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

List archive

Chronological Thread  
  • From: Aumont - Comite Reseaux des Universites <address@concealed>
  • To: Bellenger Vincent <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-fr] Authentification avec un certificat
  • Date: Mon, 02 Dec 2002 17:03:20 +0100

Bellenger Vincent wrote:
Bonjour,

Je voudrai utiliser les certificats clients pour m'identifier, cela fonctionne bien quand le certificat est sur le client mais je n'ai l'option 'Utilisez votre certificat' sur la page web d'acceuil sur serveur de liste pour choisir un autre certificat.

Quelqu'un sait il comment le faire apparaitre.
Nous l'avons fait en faisant une personnalisation du template web menu.us.tpl
que nous avons copié dans ~sympa/etc/cru.fr/wws_templates/menu.us.tpl et dans
le lequel nous ajouter ce bouton si ssl n'est pas déjà actif.

Voici le début de ce fichier jusqu'à la partie concernée /

[root-sa@listes soap]$ cat /home/sympa/etc/cru.fr/wws_templates/menu.us.tpl
<!-- RCS Identication ; $Revision: 1.10 $ ; $Date: 2001/11/16 09:32:53 $ -->

<!-- begin menu.tpl -->
<TABLE CELLPADDING="1" CELLSPACING="0" WIDTH="100%" BORDER="0"><TR><TD>

<TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" BORDER="0">
<TR ALIGN=center BGCOLOR="[dark_color]">
[IF auth_method=smime]
<TD bgcolor="[bg_color]">
<A HREF="[path_cgi]/show_cert" onClick="winhelp=window.open('','wws_help','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=320');winlogin.focus()" TARGET="wws_help"><IMG SRC="[icons_url]/locked.png" align="center" alt="security info" border=0></A>
[ELSE]
<TD>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2">
<TR>
[IF user->email]
[IF auth_method=md5]
<TD NOWRAP BGCOLOR="[light_color]" ALIGN="center">
[IF referer]
<A HREF="[path_cgi]/logout/referer/[referer]" >
[ELSE]
<A HREF="[path_cgi]/logout/[action]/[list]" >
[ENDIF]
<FONT SIZE="-1"><B>Logout</B></FONT></A>
</TD>
[ELSE]
<TD NOWRAP BGCOLOR="[bg_color]" ALIGN="center"><IMG SRC="[icons_url]/locked.png" align="center" alt="https"></TD>
[ENDIF]
[ELSE]
<TD NOWRAP BGCOLOR="[light_color]" ALIGN="center">
[IF referer]
<A HREF="[path_cgi]/nomenu/loginrequest/referer/[referer]"
[ELSE]
<A HREF="[path_cgi]/nomenu/loginrequest/[action]/[list]"
[ENDIF]

onClick="window.open('','wws_login','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=550,height=300')" TARGET="wws_login">
<FONT SIZE="-1"><B>Login</B></FONT></A>
</TD>
[IF !use_ssl]
<TD NOWRAP BGCOLOR="[light_color]" ALIGN="center">
<A HREF="https://listes.cru.fr/wws[path_info]";>
<FONT SIZE="-1"><B>Use your certificate</B></FONT></A>
</TD>
[ENDIF]
[ENDIF]




Archive powered by MHonArc 2.6.19+.

Top of Page