Project

General

Profile

Tâche #23945

Scénario #23873: Corrections EOLE 2.7.0

Sphynx 2.7.0 : ARV ne démarre plus suite aux modifications SSL

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

Status:
Fermé
Priority:
Normal
Start date:
01/29/2018
Due date:
% Done:

100%

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

Description

2018-05-17T09:17:54.166642+02:00 sphynx.ac-test.fr arv[7254]: Traceback (most recent call last):
2018-05-17T09:17:54.166699+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 662, in run
2018-05-17T09:17:54.166751+02:00 sphynx.ac-test.fr arv[7254]:     runApp(config)
2018-05-17T09:17:54.166816+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 25, in runApp
2018-05-17T09:17:54.166868+02:00 sphynx.ac-test.fr arv[7254]:     _SomeApplicationRunner(config).run()
2018-05-17T09:17:54.166937+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 380, in run
2018-05-17T09:17:54.166999+02:00 sphynx.ac-test.fr arv[7254]:     self.application = self.createOrGetApplication()
2018-05-17T09:17:54.167050+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 445, in createOrGetApplication
2018-05-17T09:17:54.167100+02:00 sphynx.ac-test.fr arv[7254]:     application = getApplication(self.config, passphrase)
2018-05-17T09:17:54.167148+02:00 sphynx.ac-test.fr arv[7254]: --- <exception caught here> ---
2018-05-17T09:17:54.167197+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 456, in getApplication
2018-05-17T09:17:54.167256+02:00 sphynx.ac-test.fr arv[7254]:     application = service.loadApplication(filename, style, passphrase)
2018-05-17T09:17:54.167313+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/application/service.py", line 412, in loadApplication
2018-05-17T09:17:54.167371+02:00 sphynx.ac-test.fr arv[7254]:     application = sob.loadValueFromFile(filename, 'application')
2018-05-17T09:17:54.167426+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py", line 177, in loadValueFromFile
2018-05-17T09:17:54.167518+02:00 sphynx.ac-test.fr arv[7254]:     eval(codeObj, d, d)
2018-05-17T09:17:54.167571+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/share/arv/website.tac", line 108, in <module>
2018-05-17T09:17:54.167620+02:00 sphynx.ac-test.fr arv[7254]:     arv_crt,
2018-05-17T09:17:54.167779+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 108, in __init__
2018-05-17T09:17:54.167832+02:00 sphynx.ac-test.fr arv[7254]:     self.cacheContext()
2018-05-17T09:17:54.167883+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 118, in cacheContext
2018-05-17T09:17:54.167933+02:00 sphynx.ac-test.fr arv[7254]:     ctx.use_privatekey_file(self.privateKeyFileName)
2018-05-17T09:17:54.167992+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 967, in use_privatekey_file
2018-05-17T09:17:54.168043+02:00 sphynx.ac-test.fr arv[7254]:     self._raise_passphrase_exception()
2018-05-17T09:17:54.168092+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 946, in _raise_passphrase_exception
2018-05-17T09:17:54.168141+02:00 sphynx.ac-test.fr arv[7254]:     _raise_current_error()
2018-05-17T09:17:54.168199+02:00 sphynx.ac-test.fr arv[7254]:   File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
2018-05-17T09:17:54.168249+02:00 sphynx.ac-test.fr arv[7254]:     raise exception_type(errors)
2018-05-17T09:17:54.168329+02:00 sphynx.ac-test.fr arv[7254]: OpenSSL.SSL.Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'file_ctrl', 'system lib'), ('SSL routines', 'SSL_CTX_use_PrivateKey_file', 'system lib')]
2018-05-17T09:17:54.168408+02:00 sphynx.ac-test.fr arv[7254]: Failed to load application: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'file_ctrl', 'system lib'), ('SSL routines', 'SSL_CTX_use_PrivateKey_file', 'system lib')]

Associated revisions

Revision 40e17ada (diff)
Added by Fabrice Barconnière almost 6 years ago

SSL certificates were not in ARV config file

ref #23945

Revision 9b6b124d (diff)
Added by Fabrice Barconnière almost 6 years ago

ARV config parser did not use the correct option for SSL private key

ref #23945

History

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

  • Status changed from Nouveau to En cours

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

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.1

#3 Updated by Scrum Master almost 6 years ago

  • Status changed from En cours to Résolu

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

  • Remaining (hours) changed from 0.1 to 0.0

ARV est fonctionnel.
Je ferme moi-même cette demande, une future qualification permettra de valider le fonctionnement d'ARV.

#5 Updated by Scrum Master almost 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF