This is for those people who love Newsbin Pro 4.32 (v5 is aweful, horrible and not sure why they moved away from a stellar flagship package such as 4.32). Anyway if you have all the features you need with exception of SSL, hope this helps.

As a note I am running Newsbin on Ubuntu Linux 9x/10.x using Crossover. (You probably could use Wine as well).

1. Install stunnel (apt-get install stunnel) + open ssl if required
2. Create *pem cert in /etc/stunnel (go here if you having problems (http://www.stunnel.org/pem)
3. Edit stunnel.conf, I had to remove all comments to run openssl, but you can leave them in if you create it at the link above)
4. If you getting a error about your pid = not set, this is a generic message and you have a error with one of your parameters in stunnel.conf.
5. I used port 2000 as someone suggested, you probably could test with 119, but best to use a different port so you make sure the port is unique and test it by doing a telnet localhost 2000.
6. Configure NewsBin as a regular server, specify localhost and port 2000. Don't try use 563 as this won't work, it's looking for the port below.
7. Edit stunnel.conf and copy below into it.



Conf stunnel.conf file which works

cert = /etc/stunnel/stunnel.pem
sslVersion = SSLv3

chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid

socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

debug = 7
output = /var/log/stunnel4/stunnel.log

client = yes

[https]
accept  = localhost:2000
connect = ssl.astraweb.com:563



8. /etc/init.d/stunnel4 restart or stop/start


Have fun.

Category: | 2 Comments

2 comments to “Newsbin Pro 4.32 + SSL + Astraweb + Linux + Crossover”

  1. If you have a Mac and you want to do something similar, setup a Linux/Ubuntu Server (if you have one even better) then just point the news client to the Linux box. Seems there is no easy way for a Mac to port forward with Lion OS. SSL Enabler is broken. Better yet, don't install Lion OS and stick with Snow Leopard as Apple broke a LOT of good programs.


    Remove the localhost: from the accept statement.

    [https]
    accept = 2000
    connect = ssl.astraweb.com:563

  1. How to install stunnel on Mountain Lion (OSX)

    http://apple.stackexchange.com/questions/79312/how-to-install-stunnel-on-mountain-lion


    Go to https://www.stunnel.org/downloads.html and download stunnel-4.54.tar.gz and stunnel-4.54.tar.gz.sha256. Open a terminal Utilities => Terminal>. Terminal is case sensitive, before you do something think twice before you press return - there is no undo or redo in terminal. Each line is one line in terminal and needs to press return at the end of the line.

    cd $HOME/Downloads
    openssl dgst -sha256 stunnel-4.54.tar.gz
    more stunnel-4.54.tar.gz.sha256

    Compare the output of the last 2 lines - if it matches all is fine, if not you had a security problem during download.

    tar -xzvf stunnel-4.54.tar.gz
    cd stunnel-4.54
    ./configure && make && make check && sudo make install

    The configure script uses autoconf, so put your fingers away from other options because if all is there and supported it will build a fine 64 bit app for you. make check is optionally. sudo make install requires your admin password. During this step you had to input some basic informations (self explaining). The && is used to run one command after each other ONLY if the last was successful.

    After all is done your stunned app was installed in /usr/local/bin. To run it, open terminal and type stunnel or stunnel3 (see the docs for the difference) and press return.

    For the config file type in terminal.

    cd /usr/local/etc/stunnel
    sudo cp stunnel.conf-sampl stunnel.conf
    sudo pico stunnel.conf

    For the documentation of pico use in terminal.

    man pico

    If I had some mistypes of filenames or anything else here use in terminal the following command to list a directory

    ls -la