How to enable https in Sabnzbd, CP, and Sickrage

Status
Not open for further replies.

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
I've been trying to get https working but can't seem to get it going.
In SABnzbd I have my usenet server configured to port 563 and SSL checked. When I click test sever it says sucessful but gives the IP:8080 which is the non https port.
Error msgs:
Error creating SSL key and certificate
Disabled HTTPS because of missing CERT and KEY files

My https setting in General/HTTPS support is checked
Port 9090
/mnt/v1/jails/sabnzbd_1/var/db/sabnzbd/admin/server.cert
/mnt/v1/jails/sabnzbd_1/var/db/sabnzbd/admin/server.key
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I've been trying to get https working but can't seem to get it going.
In SABnzbd I have my usenet server configured to port 563 and SSL checked. When I click test sever it says sucessful but gives the IP:8080 which is the non https port.
Error msgs:
Error creating SSL key and certificate
Disabled HTTPS because of missing CERT and KEY files

My https setting in General/HTTPS support is checked
Port 9090
/mnt/v1/jails/sabnzbd_1/var/db/sabnzbd/admin/server.cert
/mnt/v1/jails/sabnzbd_1/var/db/sabnzbd/admin/server.key
That's what you set in sabnzbd? That doesn't look like a path that would exist on your jail. I assume you mean
/var/db/sabnzbd/admin/server.cert
/var/db/sabnzbd/admin/server.key
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Joshua
I think it's working now. Could you confirm my settings based on the images below
upload_2016-3-10_18-32-3.png

upload_2016-3-10_18-31-32.png

upload_2016-3-10_18-32-51.png

Do I need to edit the line in the nginx.conf - server { location ^~ /sabnzbd { proxy_pass http://127.0.0.1:8080; } to server { location ^~ /sabnzbd { proxy_pass http://127.0.0.1:9090; } ?
Thank you so much for your excellent guide.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
you shouldnt be enabling HTTPS in sabnzbd then trying to access it through nginx. why didn't you just enable it once in nginx?

if you aren't even using nginx to access your services at JAIL_IP/sabnzbd instead of JAIL_IP:8080 then that config doesn't matter for you
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
I guess you have identified my limited foundation in this area. I'm not sure what the purpose of nginx is and what adding the line server { location ^~ /sabnzbd { proxy_pass http://127.0.0.1:8080; } does?
Are you saying that if I use SSL at port 9090 then the settings in nginx don't matter?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I guess you have identified my limited foundation in this area. I'm not sure what the purpose of nginx is and what adding the line server { location ^~ /sabnzbd { proxy_pass http://127.0.0.1:8080; } does?
Are you saying that if I use SSL at port 9090 then the settings in nginx don't matter?
well, if you are using HTTPS with sabnzbd then you aren't even using nginx so the setting does matter. nginx proxies your connections to those plugins, but I don't explain that so know one ever uses it, lol.

try accessing your service through nginx at http://jail_IP/sabnzbd or replace sabnzbd with the other plugin names. if you like this setup more then remembering port numbers then, just configure HTTPS on nginx.
 
Status
Not open for further replies.
Top