https with certificates

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

https with certificates

Post by starsys »

Hello. I've currently working certificates running on my synology NAS. Ex : https://subdomain.mydomain.fr
I'm trying to make them working with sabnzbd : https://subdomain.mydomain.fr:9090

I've made :

cp /usr/syno/etc/ssl/ssl.key/server.key /usr/syno/etc/ssl/ssl.crt/server.crt /usr/local/var/sabnzbd/
chown sabnzbd:users /usr/local/var/sabnzbd/server.*

I changed the paths in the webui of sabnzbd :

/usr/local/var/sabnzbd/server.key
/usr/local/var/sabnzbd/server.crt

I saved and rebooted.
Then I tried : https://subdomain.mydomain.fr:9090 it doesn't work.
Sabnzbd service is stopped in my running process and I cannot start it again.

The only way to repair it, is deleting / moving the files
/usr/local/var/sabnzbd/server.key
/usr/local/var/sabnzbd/server.crt

Can anyone help me correcting this failure ? Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: https with certificates

Post by shypike »

Did it work before with the default certificates?
Run SABnzbd from a terminal ssh sesssion so you will see its output.
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

Re: https with certificates

Post by starsys »

Hello. It works with the defauls certificates (with a security warning of course).
Can you just tell me the commad to run sabnzb in a ssh sessions ? (I've never tried it).
Thanks
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

Re: https with certificates

Post by starsys »

I tried to type : SABnzbd.py in /usr/local/sabnzbd/share/SABnzbd but it doesn't work.
What is the right syntax to run sabnzbd in terminal ?
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

Re: https with certificates

Post by starsys »

It doesn't work anymore on https with port 9090...
I don't understand what happen
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

Re: https with certificates

Post by starsys »

can anyone help me runnning sabnzbd in https 0.6.15 again ?
Thanks.
starsys
Newbie
Newbie
Posts: 33
Joined: July 26th, 2011, 4:17 am

Re: https with certificates

Post by starsys »

I just wrote server.key and server.cert and it worked again.
I think I won't try anymore to install my own certificates... It doesn't work.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: https with certificates

Post by shypike »

I'm not familiar with the wonderful world of certificates myself.
The code supporting it was contributed by a former team member.
That's also the reason we have hardly and supporting documentation for it.
Generally people who try this sort of thing put SABnzbd behind an Apache server
that takes care of the SSL layer.
Post Reply