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 !
Associated revisions
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);
History
#1 Updated by Joël Cuissinat almost 13 years ago
Au passage :
/usr/share/sso/user_infos/__init__.py:5: exceptions.DeprecationWarning: the md5 module is deprecated; use hashlib instead
;)
#2 Updated by Redmine Admin almost 13 years ago
- Target version deleted (
2.3 BETA 2)
#3 Updated by Joël Cuissinat almost 13 years ago
- Project changed from courier-eolecas to EoleSSO
#4 Updated by Joël Cuissinat almost 13 years ago
- Priority changed from Normal to 6
- Target version set to 2.3 BETA 3 => publiée en Beta 4
#5 Updated by Bruno Boiget almost 13 years ago
- Status changed from Nouveau to Fermé