Page 1 of 1

[SOLVED] Media Browser SSL using Certbot

PostPosted: Thu Oct 22, 2020 7:17 pm
by austin_mini75
Hi im new here but have been using serviio for a very long time. I have it installed on ubuntu 19xx and have recently decided to make media browser available over the web securly (ssl) every thing is working perfectly but would really like to use the cert bot issued certificates. I have gone over this guide:

but am getting stuck with this entry in the log file

java.lang.RuntimeException: Cannot recover key
        at org.serviio.restlet.RestletServer.runServer(
        at org.serviio.MediaServer.main(
Caused by: Cannot recover key
        at java.base/
        at java.base/
        at java.base/
        at java.base/
        at java.base/<init>(
        at java.base/$SunX509.engineInit(
        at java.base/
        at org.restlet.engine.ssl.DefaultSslContextFactory.createSslContext(
        at org.restlet.ext.simple.HttpsServerHelper.start(
        at org.restlet.Server.start(
        at org.restlet.Component.startServers(
        at org.restlet.Component.start(
        at org.serviio.restlet.RestletServer.startComponent(
        at org.serviio.restlet.RestletServer.runServer(

Any help would really be appreciated thx

Final UPDATE this sorted it out for me:

Re: Media Browser SSL using Certbot

PostPosted: Thu Oct 22, 2020 9:51 pm
by austin_mini75

I have placed serviio behind a reverse proxy using nginx which does seem to work but i cant log in now:

unknown server error (405) undefined

basically i configured:

as follows:
server {

  server_name mydomain;

  location / {
      proxy_pass serviio_ip:23424/mediabrowser/;

it is giving me this issue without ssl

so i noticed serviio is giving me the following log entry:
[ServiioStatusService] Returning error code to the REST layer: Method Not Allowed (405) - The method specified in the request is not allowed for the resource identified by the request URI