Tâche #34894
Scénario #34910: Correction SP-T05-001 - Importer des certificats au format PKCS12 et PEM (2.9.0-RC1)
Correction SP-T01-001 - Sphynx-ARV enregistré sur Zéphir (2.9.0-RC1)
Début:
03/05/2021
Echéance:
% réalisé:
100%
Temps estimé:
0.00 h
Restant à faire (heures):
0.0
Description
Pas №9¶
Choisissez le serveur Sphynx à ajouter (4 par défaut) : Serveur 0000000A--aca.sphynx-default-2.9.0 - Id Zéphir : 25 - Version : 2.9.0 ajouté * Certificat /var/lib/arv/CA/certs/sphynx.pem généré Traceback (most recent call last): File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 228, in get_keyid_from_certifstring subjkey, keyid = get_keyid_from_keyid_in_certif(certif_name, passwd, mode=mode) File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 212, in get_keyid_from_keyid_in_certif keyid = output.split("keyid:")[1] IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/arv/db/edge.py", line 209, in add_credential_auth subjkey, keyid_cred = get_keyid_from_certifstring(credential, mode='x509') File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 235, in get_keyid_from_certifstring raise Exception(msg) Exception: Cannot generate keyid in certificate : list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/arv/db/edge.py", line 244, in add_certificate_authorities ca = add_credential_auth(ca_cert) File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/arv/db/edge.py", line 219, in add_credential_auth raise Exception("error in add_cred_auth: %s" % e) Exception: error in add_cred_auth: Cannot generate keyid in certificate : list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/eole/sbin/init_sphynx", line 261, in <module> populate_database() File "/usr/share/eole/sbin/init_sphynx", line 189, in populate_database cred_auth = add_certificate_authorities(certif=CACert) File "/usr/lib/python3/dist-packages/arv/lib/util.py", line 53, in newFunc return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/arv/db/edge.py", line 264, in add_certificate_authorities raise ValueError(str(e)) ValueError: error in add_cred_auth: Cannot generate keyid in certificate : list index out of range
Exécution Squash-TM¶
Révisions associées
récupérer le keyid avec une version 3 de openssl (ref #34894)
Historique
#1 Mis à jour par Fabrice Barconnière il y a plus d'un an
- Lié à Scénario #34910: Correction SP-T05-001 - Importer des certificats au format PKCS12 et PEM (2.9.0-RC1) ajouté
#2 Mis à jour par Joël Cuissinat il y a plus d'un an
- Tâche parente changé de #34741 à #34910
#3 Mis à jour par Laurent Gourvenec il y a plus d'un an
- Statut changé de Nouveau à À valider
#4 Mis à jour par Laurent Gourvenec il y a plus d'un an
- Assigné à mis à Philippe Caseiro
#5 Mis à jour par Benjamin Bohard il y a plus d'un an
- Statut changé de À valider à Résolu
- % réalisé changé de 0 à 100