[RESOLVED] ssl_error_no_cypher_overlap

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.
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: ssl_error_no_cypher_overlap

Post by teracow »

teracow wrote:My understanding from the QNAP forum is that Sab runs inside a wrapper but essentially runs as it normally would, upgrades apply correctly, and all that jazz.

However, I don't know what goes on behind-the-scenes here to determine what the wrapper configures in the NAS (firewalls and such). I suspect that the selected port needs to be opened as it's not reachable:

Code: Select all

$ nmap talia. -p8085

Starting Nmap 6.00 ( http://nmap.org ) at 2013-01-28 09:38 EST
Nmap scan report for talia. (10.0.0.2)
Host is up (0.00011s latency).
PORT     STATE  SERVICE
8085/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds
Since the port is closed, it won't be reachable from any machine using HTTP, HTTPS or anything else.

This was only the case using the temporarily installed Sab that I downloaded as per your sugestion. The original Sab is accessible from any machine, as long as I use HTTP. :-\
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: ssl_error_no_cypher_overlap

Post by sander »

We're not getting further. Is it because there is a misunderstanding between us?
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: ssl_error_no_cypher_overlap

Post by teracow »

perhaps I misunderstood your request...
sander wrote:Make sure SAB is accessible from other systems, make sure HTTPS is running and try it from your webbrowser.
You asked me to check accessibility from other systems - yet I have mentioned that the port that is used to access the Sab server is closed - therefore, (it would seem that) I am not going to be able to access it via ANY machine. Can you confirm for me that this is what you would like me to check?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: ssl_error_no_cypher_overlap

Post by sander »

I thought I asked you to make SAB accessible from other systems using 0.0.0.0, otherwise sslscan and nmap will report it is not accessible (which would be stating the obvious).

I you can't access the temp SABnzbd with your webbrowser (getting the webinterface or getting the SSL error), proceeding with sslscan is useless.
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: ssl_error_no_cypher_overlap

Post by teracow »

As I have previously explained, I have not been able to enter 0.0.0.0 as a listening host as I am not presented with a HTTP interface (hence, no wizard). Perhaps you missed that bit.

Can this be done by editing files directly instead?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: ssl_error_no_cypher_overlap

Post by sander »

teracow wrote:As I have previously explained, I have not been able to enter 0.0.0.0 as a listening host as I am not presented with a HTTP interface (hence, no wizard). Perhaps you missed that bit.

Can this be done by editing files directly instead?
No, I didn't miss that at all.

And yes, you can.
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: ssl_error_no_cypher_overlap

Post by teracow »

...and that would be done how?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: ssl_error_no_cypher_overlap

Post by sander »

teracow wrote:...and that would be done how?
Stop SABnzbd, edit sabnzbd.ini on the system running SABnzbd (which is your NAS?), find first occurence of 'host', which will say localhost or 127.0.0.1, change it to 0.0.0.0, and start SAB again.
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: ssl_error_no_cypher_overlap

Post by teracow »

Hi all,

Managed to fix this. I did this by deleting the server.cert and server.key files in Config/admin/ suspecting that the fault was with them. (Odd because SickBeard used the same certificate file(s) and established a HTTPS connection correctly.)

They have now been recreated and HTTPS works properly in Sab again.

Thanks to sander for your assistance.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: [RESOLVED] ssl_error_no_cypher_overlap

Post by sander »

Cool that it works again. Thanks for the feedback.
User avatar
teracow
Newbie
Newbie
Posts: 40
Joined: July 27th, 2012, 7:14 pm

Re: [RESOLVED] ssl_error_no_cypher_overlap

Post by teracow »

"just when you thought it was safe to restart your NAS..."

erm... so, I restarted my NAS... and went back to square one... same fault as before... unable to login to Sab using HTTPS.

So I thought I should add what I found next in case someone else sees the same thing.

I started looking at the certificate files. They didn't appear to have been modified...

Code: Select all

[/share/MD0_DATA/.qpkg/SABnzbdplus/Config/admin] # ll ser*
-rw-------    1 admin    administ      631 Feb  2 09:44 server.cert
-rw-------    1 admin    administ      631 Feb  2 10:20 server.crt
-rw-------    1 admin    administ      887 Feb  2 10:20 server.key
(at first I didn't know why there were 3 files - I thought a certificate should only be 2 - public and private)

then I noticed that Sab was looking at:
  • server.cert
  • server.key
and SickBeard was looking at:
  • server.crt
  • server.key
So, I changed Sab to look at server.crt and "saved changes".

Since then, I've done 2 cold-boots of the NAS and everything starts correctly. HTTPS login works on both again. 8)

My theory is that Sab created the server.cert and server.key files first.

Then when I (incorrectly) configured and restarted SickBeard, it couldn't find server.crt so it created this and a NEW server.key

At this point, HTTPS login to Sab was no longer possible with an old server.crt and a new server.key but these are (possibly?) only loaded when the program starts - so the old server.key was effectively 'cached'. I could login and out as required until Sab was shutdown. Once the NAS was restarted, Sab attempted to load the certificate files again, but was now dealing with a mis-matched file pair. Hence - no HTTPS transaction possible.

Can anyone confirm this?
Last edited by teracow on February 5th, 2013, 3:39 am, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: [RESOLVED] ssl_error_no_cypher_overlap

Post by sander »

I checked, and I only have:

Code: Select all

sander@R540:~/.sabnzbd/admin$ ll ser*
-rw-r--r-- 1 sander sander 631 May 29  2011 server.cert
-rw-r--r-- 1 sander sander 891 May 29  2011 server.key
sander@R540:~/.sabnzbd/admin$ 

... so dated 2011.

On another system:

Code: Select all

sander@toverdoos:~/.sabnzbd/admin$ ll ser*
-rw------- 1 sander sander 631 2012-04-09 23:25 server.cert
-rw------- 1 sander sander 916 2012-04-09 23:25 server.key
sander@toverdoos:~/.sabnzbd/admin$ 
... so dated April 2012

Maybe the files are dated the moment the initial SABnzbd install runs? If so, it is 'interesting' that your files are dated so recently ...
Post Reply