Help enabling SSL in Ubuntu Server 14.04

Hello,

Installed Sonarr, the webui loads and everything works except for SSL. I followed the wiki step by step, without any errors (seemingly), but still I’m not able to get it to work. Running the httpcfg -list command returns ==> Port: 18186 Thumbprint: 6G*********************************************,** so I’m guessing it was loaded properly. I don’t see anything with regards to errors on the logs.

Please hastebin the logs from startup, that will show if Sonarr has started listening HTTPS.

A couple more gotchas:

  • needs to be run as the same user that runs Sonarr
  • most “proper” (not self signed) certs don’t work because they use an intermediate cetificate, which aren’t supported in mono (for hosting).

Hey Markus101,

Below is the piece of the log showing entries after startup (first time using hastebin, actually had to google it, hope it works:):

http://hastebin.com/ahigepinic.coffee

Everything looks ok, except for the very last line, which shouldn’t be an issue according to a response from you I found on another ticket.

Regarding the gotchas, I’m using self signed certs (openssl), so I should be fine in that regard. Now, when you said “needs to be run as the same user that runs Sonarr”, were you referring to the httcfg command? If so, yes I did. Thanks for your time!

Yeah, that all looks good to me.

Yes, I should have been more clear, excellent.

What do you see when you try to hit Sonarr over https?

I just get a blank page (“This webpage is not available”)

I deleted the port from mono, and redid everything again, but nothing still. I ran an ssl check on the port, and there seems to be an issue with the crt/key loaded in mono as you can see on the link below (hastebin ftw).

http://hastebin.com/wiboxefofo.md

I used both openssl, and the key/crt generating site provided in the wiki to get my certs, so I’m not sure what else to try. Thanks again.

To double check, you converted it with the PVK tool as well?

That’s correct.

Hmmm, I’m not really sure. You could try re-using the same cert you user for CP and converting it. I wonder if the conversion process failed for some reason. Can also try removing and readding it.

I have just completed a Sonarr installation crusade. I installed it on Windows, OSX, and lastly my Linux VM, all working over https. I have no idea what I did while installing it on my actual Linux server, but I must’ve pooped something up. Uninstalled it, mono included, and redid everything. The only thing I did differently was make my certificate/pvk using makecert, in order to avoid the pvk.exe conversion.

Thanks for the quick responses.

1 Like