SSL Chain Certificates support

Report & discuss bugs found in SABnzbd

SSL Chain Certificates support

Postby starheart » August 17th, 2012, 2:51 am

I just renewed my SSL certificates today, and went with the cheapest I could find. The new certifcates are chained, and I am not about to spend even more money on new certificates. I am surprised this support isn't already there.

I found another thread talking about Cherrypy having the support, but SABnzbd not having it. So I have made a basic patch for SABnzbd 0.7.3 that works for me. For the chain file I took the ca-bundle.crt file from my distributation, in this case CentOS, and copied it. Then I appended the chain file from my SSL certificate provider. I then added the line to my sabnzbd.ini.

Patch:
http://proton.cygnusx-1.org/~edgan/SABn ... hain.patch

Config file change:
https_chain = /etc/pki/tls/certs/ca-bundle-intermediate.crt
starheart
Newbie
Newbie
 
Posts: 9
Joined: December 7th, 2009, 3:12 am

Re: SSL Chain Certificates support

Postby shypike » August 17th, 2012, 9:35 am

Nice work, thank you.
I knew it was possible, but I just didn't have enough time and priority to work it out.
I'll see whether I can get this into 0.7.4.
BTW: the link times out for me, could you email the patch to bugs@sabnzbd.org ?
User avatar
shypike
Administrator
Administrator
 
Posts: 16568
Joined: January 18th, 2008, 1:49 pm

Re: SSL Chain Certificates support

Postby starheart » August 17th, 2012, 12:34 pm

My UPS decided to die last night. I have removed it, and so the link works again. I am also e-mailing you the patch.
starheart
Newbie
Newbie
 
Posts: 9
Joined: December 7th, 2009, 3:12 am

Re: SSL Chain Certificates support

Postby shypike » August 18th, 2012, 8:32 am

I integrated your patch, so thanks again.
Now for the interesting part.
Could you write a text explaining how to set this up, for the Wiki manual?
User avatar
shypike
Administrator
Administrator
 
Posts: 16568
Joined: January 18th, 2008, 1:49 pm


Return to Bug Reports