Hi,
Just made (build) a new Peter Pan image for dm920, and got boot loop after restoring old settings (backup). Error log says something about webinterface certificate...
Code
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/enigma2/python/mytest.py", line 817, in <module>
runScreenTest()
File "/usr/lib/enigma2/python/mytest.py", line 608, in runScreenTest
session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = nav)
File "/usr/lib/enigma2/python/mytest.py", line 297, in __init__
p(reason=0, session=self)
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 556, in sessionstart
networkstart(True, session)
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 608, in networkstart
startWebserver(session, l2k)
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 222, in startWebserver
ret = startServerInstance(session, sport, useauth=sauth, l2k=l2k, usessl=True)
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 292, in startServerInstance
ctx = ChainedOpenSSLContextFactory(KEY_FILE, CERT_FILE)
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 333, in __init__
self.cacheContext()
File "/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py", line 339, in cacheContext
ctx.use_privatekey_file(self.privateKeyFileName)
File "/usr/lib/python2.7/site-packages/OpenSSL/SSL.py", line 665, in use_privatekey_file
self._raise_passphrase_exception()
File "/usr/lib/python2.7/site-packages/OpenSSL/SSL.py", line 640, in _raise_passphrase_exception
_raise_current_error()
File "/usr/lib/python2.7/site-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
raise exception_type(errors)
Error: [('x509 certificate routines', 'X509_check_private_key', 'key values mismatch')]
------------------------------------------------------------
Alles anzeigen
Made a look in plugin.py for webinterface and saw that it uses /etc/enigma2/cert.pem and key.pem. I then tried to delete those files (rename) and the boot loop dissapeared. But webinterface does not work anymore.
Flashed dm920 again and the problem is not there. WebInterface works fine.
Could it be that there is conflict with older backuped cert.pem and key.pem with latest changes in webinterface?