Project

General

Profile

Tâche #14116

Distribution EOLE - Scénario #14084: Assistance aux utilisateurs (49-51)

ARV : utiliser la bonne variable pour nommer le fichier certificat

Added by Fabrice Barconnière almost 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Start date:
11/20/2015
Due date:
% Done:

100%

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

Description

Remarque par mail sur la liste Amon de Camille Jactard de l'académie de la Réunion :

Je ne sais pas si c'est uniquement valable sur notre académie, mais j'ai remarqué un petit soucis sur le fichier /usr/lib/python2.7/dist-packages/arv/lib/sw_config_apply.py
Il me semble y avoir une petite coquille dans une déclaration de variable :

# generate certificate and private key files
                local_cred_name = re.sub('/', r'_', local_cred.name)
                cred_filename = join(tmpconfigs_directory_certs, local_cred.name + ".pem")

Ma réponse :
je me souviens bien avoir fait cette modification suite à des problèmes rencontrés dans votre académie.
Il semble effectivement que c'est bien la variable *local_cred_name* qui devrait être utilisée dans la ligne *cred_filename = join.......*


Pour reproduire :

Il faut mettre en place un VPN pour tester toute la chaîne.

certif-vpn.conf.patch View (752 Bytes) Fabrice Barconnière, 12/11/2015 12:02 PM

ca-sphynx.conf.patch View (672 Bytes) Fabrice Barconnière, 12/11/2015 04:17 PM

Associated revisions

Revision 62eff124 (diff)
Added by Fabrice Barconnière almost 8 years ago

arv/lib/sw_config_apply.py : coquille dans l'utilisation de la variable local_cred_name

ref #14116 @15m

Revision b6c20ca0 (diff)
Added by Fabrice Barconnière almost 8 years ago

ARV : Prise en compte d'attributs supplémentaires dans les certificats

db/node.py : le nom du certificat est tout ce qui suit CN=
lib/sw_config_apply.py : remplacer '/' par '_' dans le nom de fichier
des certificats/clés privées

ref #14116 @3h

History

#1 Updated by Fabrice Barconnière almost 8 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Fabrice Barconnière almost 8 years ago

  • Assigned To set to Fabrice Barconnière
  • Remaining (hours) changed from 1.0 to 0.1

#3 Updated by Scrum Master almost 8 years ago

  • Status changed from En cours to Résolu

#4 Updated by Fabrice Barconnière almost 8 years ago

  • % Done changed from 0 to 100

#5 Updated by Fabrice Barconnière almost 8 years ago

  • Status changed from Résolu to En cours

#6 Updated by Fabrice Barconnière almost 8 years ago

  • Remaining (hours) changed from 0.1 to 1.0

#7 Updated by Fabrice Barconnière almost 8 years ago

#8 Updated by Fabrice Barconnière almost 8 years ago

  • Description updated (diff)
  • % Done changed from 100 to 60

#9 Updated by Fabrice Barconnière almost 8 years ago

  • File ca-sphynx.conf.patch added

#10 Updated by Fabrice Barconnière almost 8 years ago

  • Description updated (diff)

#11 Updated by Fabrice Barconnière almost 8 years ago

  • File deleted (ca-sphynx.conf.patch)

#13 Updated by Fabrice Barconnière almost 8 years ago

  • Description updated (diff)

#14 Updated by Fabrice Barconnière almost 8 years ago

  • % Done changed from 60 to 100
  • Remaining (hours) changed from 2.0 to 1.0

#15 Updated by Fabrice Barconnière almost 8 years ago

  • Description updated (diff)

#16 Updated by Scrum Master almost 8 years ago

  • Status changed from En cours to Résolu

#17 Updated by Joël Cuissinat almost 8 years ago

  • Remaining (hours) changed from 1.0 to 0.25

Validation en cours... => OK

#18 Updated by Joël Cuissinat almost 8 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF