Project

General

Profile

Tâche #20021

Scénario #22741: Traitement express MEN (05-07)

Pouvoir utiliser TLS

Added by Philippe Caseiro almost 6 years ago. Updated about 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/30/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Actuellement roundcube n'utilise pas le TLS pour ouvrir la session IMAP, dans le cas d'un serveur imap distant l'utilisation du TLS me semble obligatoire.

Il suffit d'ajouter "tls://" a la variable $config['default_host']

$config['default_host'] = 'tls://%%adresse_imap';

Je pense que l'ajout d'une variable expert pour savoir si oui ou non on utilise TLS serait une bonne chose.

Associated revisions

Revision ef6a7ce7 (diff)
Added by Emmanuel GARETTE about 5 years ago

possibilité d'activer TLS sur le serveur IMAP (ref #20021)

History

#1 Updated by Arnaud FORNEROT almost 6 years ago

  • Tracker changed from Demande to Evolution

#2 Updated by Arnaud FORNEROT over 5 years ago

  • Tracker changed from Evolution to Demande
  • Project changed from roundcube to Distribution EOLE

A voir si cela impacte EOLE
Sinon repassez moi la demande et je fais juste la modification de template de roundcube

#3 Updated by Daniel Dehennin over 5 years ago

  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin over 5 years ago

Je pense qu’il faut juste tester sur un scribe/AmonEcole si l’ajout de ce tls:// pose problème.

#5 Updated by Gilles Grandgérard about 5 years ago

  • Parent task set to #22741

Faire seulement le test
Si besoin repasser la demande à Arnaud

#6 Updated by Daniel Dehennin about 5 years ago

  • Assigned To deleted (Daniel Dehennin)

#7 Updated by Joël Cuissinat about 5 years ago

Pas de dysfonctionnement constaté sur etb1.scribe avec :

root@scribe:~# grep default_host /var/www/html/roundcube/config/config.inc.php 
$config['default_host'] = 'tls://10.1.3.5';

Mais erreur sur etb3.amoneceole avec :

root@amonecole:~# grep default_host /opt/lxc/reseau/rootfs/var/www/html/roundcube/config/config.inc.php
$config['default_host'] = 'tls://192.0.2.51';

IMAP LOGIN FAILED
Could not log into your IMAP service. The service may be interrupted, or you may not be authorized to access the service.
Please contact the administrator of your IMAP service.
Or log out by clicking on the button below, then try again with a different user name.

=> à creuser ?

#8 Updated by Laurent Flori about 5 years ago

  • Status changed from Nouveau to En cours

#9 Updated by Laurent Flori about 5 years ago

  • Assigned To set to Laurent Flori

#10 Updated by Scrum Master about 5 years ago

  • Status changed from En cours to Nouveau

#11 Updated by Laurent Flori about 5 years ago

  • Assigned To deleted (Laurent Flori)

#12 Updated by Emmanuel GARETTE about 5 years ago

  • Status changed from Nouveau to En cours

#13 Updated by Emmanuel GARETTE about 5 years ago

  • Assigned To set to Emmanuel GARETTE

#14 Updated by Emmanuel GARETTE about 5 years ago

Sur AmonEcole : tail -f /opt/lxc/reseau/rootfs/var/www/html/roundcube/logs/errors

[09-Feb-2018 11:07:15 Europe/Paris] PHP Warning:  stream_socket_enable_crypto(): Peer certificate CN=`amonecole.etb3.lan' did not match expected CN=`192.0.2.51' in /var/www/html/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 1015

#15 Updated by Emmanuel GARETTE about 5 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 3.00 h
  • Remaining (hours) set to 0.25

Reste a faire un paquet

#16 Updated by Emmanuel GARETTE about 5 years ago

Paquet refait en envole-5-unstable.

#17 Updated by Scrum Master about 5 years ago

  • Status changed from En cours to Résolu

#18 Updated by Daniel Dehennin about 5 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#19 Updated by Daniel Dehennin about 5 years ago

  • Passage d’un scribe 2.6.2 avec les paquets de développements d’Envole
    root@scribe:~# Maj-Auto -D envole -R
    
  • Vérification du fichier de configuration roundcube
    root@scribe:~# grep default_host /var/www/html/roundcube/config/config.inc.php
    $config['default_host'] = 'tls://192.168.0.26';
    
  • Test d’envois/réception de mail depuis l’interface web de roundcube ⮕ OK

#20 Updated by Daniel Dehennin about 5 years ago

  • Project changed from Distribution EOLE to roundcube
  • Target version changed from sprint 2018 05-07 Equipe MENSR to Envole 5.8

#21 Updated by Scrum Master about 5 years ago

  • Project changed from roundcube to Distribution EOLE
  • Status changed from Résolu to Fermé

Also available in: Atom PDF