Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Anyone use stunnel?

  • 02-04-2011 02:06AM
    #1
    Closed Accounts Posts: 1,650 ✭✭✭


    I am trying to use stunnel to get an old mail server, that doesn't do SSL for POP, to connect to gmail. It's on Windows 2000.

    I had it working with the provided test pem file but after reinstalling the service to fix another issue it stopped working.

    The error is:

    2011.04.01 23:21:42 LOG3[1492:2412]: Error reading certificate file: stunnel.pem
    2011.04.01 23:21:42 LOG3[1492:2412]: error queue: 140DC009 : error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
    2011.04.01 23:21:42 LOG3[1492:2412]: SSL_CTX_use_certificate_chain_file: 906D066: error:0906D066:PEM routines:PEM_read_bio:bad end line
    2011.04.01 23:21:42 LOG3[1492:1872]: local socket: Interrupted system call (WSAEINTR) (10004)
    2011.04.01 23:21:42 LOG3[1492:1872]: accept: Interrupted system call (WSAEINTR) (10004)

    I suspect the issue might be the formatting of the pem file.

    Anyone encounter this error or have any ideas?

    Also, did anyone successfully build their own pem file (in Windows)? I am running stunnel\openssl\ce\build.bat but don't see the result.

    Thanks.


Advertisement