Project

General

Profile

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

Added by Bruno Boiget over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/17/2015
Due date:
% Done:

100%

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

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

Related to Distribution EOLE - Tâche #16906: génération des certificats : ne pas recréer la clé si utilisation d'une clé déjà existante Fermé 07/25/2016

Associated revisions

Revision 2035efad (diff)
Added by Bruno Boiget over 7 years ago

01_apache.gen_cert : correction si certificat auto-signé spécifique

ref #12784 @30m

Revision e9759682 (diff)
Added by Bruno Boiget over 7 years ago

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

Also available in: Atom PDF