Evolution #999
Le SSO est trop exigeant sur les certificats
0%
Description
Suite aux derniers refactoring, le SSO ne marche plus en mode "IP" :
File "/usr/lib/pymodules/python2.6/M2Crypto/SSL/Checker.py", line 123, in __call__ fieldName='commonName') M2Crypto.SSL.Checker.WrongHost: Peer certificate commonName does not match host, expected 192.168.10.126, got scribe.00000a.ac-dijon.fr 2010-09-22 10:21:47+0200 [TLSProtocolWrapper,client] !! Proxy non validé : https://192.168.10.126/mail/src/login.php !! 2010-09-22 10:21:47+0200 [TLSProtocolWrapper,client] !! --> Peer certificate commonName does not match host, expected 192.168.10.126, got scribe.00000a.ac-dijon.fr !!
En ajoutant "commonName = 192.168.10.126" dans certif-eole.conf, ça semble marcher après reconfigure, regénération des certificats et redémarrage !
Révisions associées
remplacement md5.msd5 par hashlib.md5 (ref #999)
To fix #999: bad localization for dropdowns in Notifications
Added $_SESSION['glpi_dropdowntranslations'] = DropdownTranslation::getAvailableTranslations() to get possible translation of dropdowns localized like target user language.
Switched $_SESSION["glpilanguage"] to target user language to permit all functions that are based on it to get correct localized strings.
Moved $target->getContentHeader() and $target->getContentFooter() to be able to have these localized with target user language too.
Switched back $_SESSION["glpilanguage"] and $_SESSION['glpi_dropdowntranslations'] to saved value.
Deleted unused $start = microtime(true);
Historique
#1 Mis à jour par Joël Cuissinat il y a plus de 13 ans
Au passage :
/usr/share/sso/user_infos/__init__.py:5: exceptions.DeprecationWarning: the md5 module is deprecated; use hashlib instead
;)
#2 Mis à jour par Redmine Admin il y a plus de 13 ans
- Version cible
2.3 BETA 2supprimé
#3 Mis à jour par Joël Cuissinat il y a plus de 13 ans
- Projet changé de courier-eolecas à EoleSSO
#4 Mis à jour par Joël Cuissinat il y a plus de 13 ans
- Priorité changé de Normal à 6
- Version cible mis à 2.3 BETA 3 => publiée en Beta 4
#5 Mis à jour par Bruno Boiget il y a plus de 13 ans
- Statut changé de Nouveau à Fermé