[stunnel-users] Using stunnel instead of SSL API

Vladimir Stariradev vlad.star at gmail.com
Wed Dec 23 14:14:27 CET 2009

Hi Guys,

I'm working on a java mobile app (J2ME MIDP 2.0) which connects to a
java server, which I created. The java mobile app is an instant
I want to use stunnel to encrypt the communication between the app and
the server. At the moment the server runs on my localhost
on port 5555 and accepts connections from the mobile device emulator I
have running on the same machine. Eventually I want to
transfer the mobile app on to my mobile and use it from there. My
machine is running the following versions
stunnel 4.29 on x86-pc-mingw32-gnu with OpenSSL 0.9.8l on Windows 7
x64. I have not yet configured a pam or config file but I
would like to continue listening on port 5555 with my own certificate
(but for now any will do).

Will the fact that I'm running both my server and device emulator on
one machine mean that it'll bypass stunnel and I'll never know if it
works or not?

Should I have my mobile app use SecureConnection (SSL encrypted)
class? In that case, I'd have to make the server listen for SSL
connections too. That would defeat the purpose of stunnel.

Help on configuration is welcome.

Thanks for reading, I'm looking forward to your replies

More information about the stunnel-users mailing list