No WebGUI after config restore ("couldn't read private key")

  • I had a router (Soekris 5501-70) destroyed by lightning yesterday. I replaced it with a Soekris 6501, opened my config file and changed the interface names (from VRxx on the 5501 to EMxx on the 6501) and restored. All seemed well, the router functions and I can SSH into it but I'm unable to access the webGUI via HTTP or HTTPS.

    I tried restarting it and /etc/var/system.log shows:

    php: rc.restart_webgui: The command '/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf' returned exit code '255', the output was '2014-08-21 13:36:21: (network.c.578) SSL: couldn't read private key from '/var/etc/cert.pem''
    rc.restart_webgui: Creating rrd update script

    I've made sure that cert.pem exists in /var/etc but I'm unsure what to do at this point. It's remote so anything I could do via SSH would be great.

    Thanks in advance,

  • Just in case someone else should stumble across this issue. I was able to get back in via HTTPS by:

    Connecting via SSH and resetting the LAN IP (to what it was), and enabling HTTP when prompted. I then deleted the "webconfigurator default" cert, created a new CA and a new cert and switched the system back to HTTPs and all seems well.

Log in to reply