Freenas no SSL - 0.6.10

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
Jimmy121
Newbie
Newbie
Posts: 4
Joined: November 25th, 2011, 4:26 am

Freenas no SSL - 0.6.10

Post by Jimmy121 »

Morning All,

I am currently running Freenas 0.7.2 - 8191 and have installed Sabnzbd 0.6.10 but I cannot select SSL for some unknown reason. The box is grayed out. Running on port 119 works perfectly fine, but i would like to use SSL.

My Current PAckages are below:

par2cmdline-0.4_4 Tools for using Parity v2 Archive files
pkg-config-0.25_1 A utility to retrieve information about installed libraries
py27-chardet-2.0.1 Character encoding auto-detection in Python
py27-cheetah-2.4.4 HTML template engine for Python
py27-feedparser-5.0.1 An RSS feed parser written in Python
py27-markdown-2.0.3_1 Text markup to HTML conversion engine for Python
py27-openssl-0.13 Python interface to the OpenSSL library
py27-setuptools-0.6c11_1 Download, build, install, upgrade, and uninstall Python pac
py27-sqlite3-2.7.2_1 Standard Python binding to the SQLite3 library
py27-utils-0.4.0 General utility modules that simplify common programming in
py27-yenc-0.3 A yenc decoding module for Python in C
python27-2.7.2_3 An interpreted object-oriented programming language
sabnzbdplus-0.6.10 A web-interface based binary newsgrabber in python, with nz
sqlite3-3.7.9 An SQL database engine in a C library
unrar-4.00,5 Extract, view & test RAR archives
unzip-6.0_1 List, test and extract compressed files in a ZIP archive

Do i need to install an optional package?

Please note i used my original .ini file, is this causing the problem?

Any help would be appreciated.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Freenas no SSL - 0.6.10

Post by shypike »

I have no idea how freeNAS packages work,
but you seem to have PyOpenSSL installed, which should install the actual OpenSSL as well.
Does ssh work at all on your system?
Try the 'ssh' command line tool.
Jimmy121
Newbie
Newbie
Posts: 4
Joined: November 25th, 2011, 4:26 am

Re: Freenas no SSL - 0.6.10

Post by Jimmy121 »

It does indeed I connect via putty and ssh works on the command line.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Freenas no SSL - 0.6.10

Post by shypike »

Can you list the commands needed to install the bunch from a fresh install?
If I can find the time, I'll setup a VMWare image for it.
Right know I can only guess at causes.
Jimmy121
Newbie
Newbie
Posts: 4
Joined: November 25th, 2011, 4:26 am

Re: Freenas no SSL - 0.6.10

Post by Jimmy121 »

I just use the automated package install -

pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports ... 0.6.10.tbz

This will install everything for you..

Freenas install CD /iso
http://sourceforge.net/projects/freenas ... .7.2.8191/

Use the FreeNAS-i386-LiveCD-0.7.2.8191.iso

Boot up and choose option 9 to install..
Build full version + swap + data

After install - Reboot

Select option 2 to set ip if you want to use the web interface.

Or select 6 for shell

***************** I think the above is correct - Done of the top of my head ***************

Thanks in advance - Dont know if you interested but might worth trying the Oracle version of Vmware (Virtual Box) its free and i personally think its quicker and better.

http://www.oracle.com/us/technologies/v ... 61976.html
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Freenas no SSL - 0.6.10

Post by sander »

What does your sabnzbd.log say about pyOpenSSL? On my Ubuntu I can check with "grep -i pyopenssl ~/.sabnzbd/logs/sabnzbd.log". YMMV

Code: Select all

sander@R540:~$ grep -i pyopenssl ~/.sabnzbd/logs/sabnzbd.log
2011-11-15 22:17:13,373::INFO::[SABnzbd:489] pyOpenSSL... found (True)
2011-11-15 22:18:32,798::INFO::[SABnzbd:489] pyOpenSSL... found (True)
2011-11-16 22:29:37,210::INFO::[SABnzbd:490] pyOpenSSL... found (True)
2011-11-19 08:38:54,679::INFO::[SABnzbd:490] pyOpenSSL... found (True)

User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Freenas no SSL - 0.6.10

Post by shypike »

The FreeNAS (or freeBSD) package py27-openssl-0.13 is the culprit.
It simply doesn't work.
When I start the Python program, and I type this:

Code: Select all

from OpenSSL import SSL
The only thing I get is a bunch of errors:

Code: Select all

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/OpenSSL/__init__.py, line 41, in <module>
    from OpenSSL import rand, SSL
ImportError: /usr/local/lib/python2.7/site-packages/OpenSSL/SSL.so: Undefined symbol "SSL_get_servername"
SABnzbd interprets these errors as a sign that SSL is not available.

I think you need to complain to the package maintainer of py27-openssl-0.13
Jimmy121
Newbie
Newbie
Posts: 4
Joined: November 25th, 2011, 4:26 am

Re: Freenas no SSL - 0.6.10

Post by Jimmy121 »

Thanks for all your help on this Shypike - I am only slowly getting to grips with Linux builds.. Unfortuneatly I am MS boy, well thats who put the money in the bank indirectly.

I have reverted back to an earlier version of Sabnzbd for the time being which uses py26 packages.

Again thanks for you help on this..
guru-69
Newbie
Newbie
Posts: 2
Joined: January 9th, 2012, 2:31 pm

Re: Freenas no SSL - 0.6.10

Post by guru-69 »

I am having the same problem with py27-openssl-0.13. Since the new Sabnzb is working great, I found a workaround.
I am using stunnel to create an SSL wrapper around my Sab usenet connection until they can fix py27-openssl

PKG_ADD -rv stunnel-4.43.tbz

Create stunnel.conf with your usenet server address/port:

*** stunnel.conf ***
client = yes
[nntp]
accept = 119
connect = news.giganews.com:563
***********************

Start the stunnel. If working correctly a "netstat -a" should show "nntp" as a listening local service

Now create a server in Sab that has SSL unchecked and your news server as: localhost

All SSL again :-)

Hope this helps somebody
Gink
Newbie
Newbie
Posts: 2
Joined: April 8th, 2012, 3:47 pm

Re: Freenas no SSL - 0.6.10

Post by Gink »

Thanks Guru!

I had to fiddle with a lot of stuff to get the workaround going on a 7.2 embedded system, but in the end it works and I'm happy to be using SSL.
Post Reply