Tâche #14116
Distribution EOLE - Scénario #14084: Assistance aux utilisateurs (49-51)
ARV : utiliser la bonne variable pour nommer le fichier certificat
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
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.- Appliquer les patches certif-vpn.conf.patch et ca-sphynx.conf.patch
- reconfigure
- SP-T01-001
- SP-T01-002
- SP-T01-004
- SP-T01-006
- SP-T01-011
- SP-T02-001
Associated revisions
arv/lib/sw_config_apply.py : coquille dans l'utilisation de la variable local_cred_name
ref #14116 @15m
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
- File certif-vpn.conf.patch View added
- Description updated (diff)
- Remaining (hours) changed from 1.0 to 2.0
#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)
#12 Updated by Fabrice Barconnière almost 8 years ago
- File ca-sphynx.conf.patch View added
#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