Tâche #12784
Distribution EOLE - Scénario #12639: Assistance aux utilisateurs (36-38)
Erreur à l'instance si un nom de fichier non existant est précisé pour le certificat apache
Description
Problème remonté sur IRC (marco2) :
Sur un scribe 2.4.2 :
------------------------------------------------------------------------------------------------------- Génération des certificats ------------------------------------------------------------------------------------------------------- reconfigure - name 'keyfile' is not defined Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 671, in certificates cert.gen_certs() File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 240, in gen_certs certif_loader(regen=regen) File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 449, in certif_loader execfile(fname, globals(),locals()) File "/usr/share/eole/certs/01_apache.gen_cert", line 4, in <module> gen_certif(certfile=apache_cert, keyfile=keyfile) NameError: name 'keyfile' is not defined reconfigure - Erreur lors de la génération des certificats : name 'keyfile' is not defined Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 904, in main certificates() File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 680, in certificates raise Exception(_(u"Error while generating certificates: {0}").format(err)) Exception: Erreur lors de la génération des certificats : name 'keyfile' is not defined
L'erreur se produit si on génére un certificat auto-signé spécifique pour apache (autre que eole.crt)
le problème semble présent depuis eole 2.4.1
Related issues
Associated revisions
01_apache.gen_cert : correction si certificat auto-signé spécifique
ref #12784 @30m
01_apache.gen_cert : correction si certificat auto-signé spécifique
cherry-pické depuis la branche de correction
ref #12784
History
#1 Updated by Bruno Boiget over 7 years ago
- Project changed from Distribution EOLE to eole-web
- Subject changed from Erreur à l'instance si un nom de fichier non existant est précisé pour le certificat apache (certificat auto-signé autre que eole.crt) to Erreur à l'instance si un nom de fichier non existant est précisé pour le certificat apache
- Description updated (diff)
#2 Updated by Bruno Boiget over 7 years ago
- Distribution changed from EOLE 2.5 to Toutes
certs/01_apache.gen_cert −> keyfile=key_file au lieu de keyfile=keyfile
#3 Updated by Bruno Boiget over 7 years ago
- Description updated (diff)
#4 Updated by Bruno Boiget over 7 years ago
- Status changed from Nouveau to En cours
#5 Updated by Bruno Boiget over 7 years ago
- Description updated (diff)
- Assigned To set to Bruno Boiget
- Remaining (hours) changed from 1.0 to 0.5
#6 Updated by Bruno Boiget over 7 years ago
- Status changed from En cours to Résolu
#7 Updated by Bruno Boiget over 7 years ago
- Status changed from Résolu to En cours
- % Done changed from 0 to 90
reste à déterminer dans quelles versions la correction doit être mergée
#8 Updated by Bruno Boiget over 7 years ago
- Status changed from En cours to Résolu
- % Done changed from 90 to 100
paquets compilés en version candidate 2.4.2/2.5.0
unstable 2.4.3/2.5.1
#9 Updated by Bruno Boiget over 7 years ago
- Remaining (hours) changed from 0.5 to 0.25
#10 Updated by Joël Cuissinat over 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
Testé en 2.4.2 + ajout du test squash SCRIBE-T10-006 - Modification du certificat utilisé par apache