Hi All,
I am having some issues running
STunnel in Windows Service Mode.
I am running on
Windows Server 2003, Service Pack 1.
stunnel 4.33
stunnel 4.33 on win32 (stunnel)
StartService: error 1053: The service did not respond to the
start or control request in a timely fashion.
The
stunnel.conf file is as follows:
===================
cert
= carrier.cer
key
= carrier.key
;
Some performance tunings
socket
= l:TCP_NODELAY=1
socket
= r:TCP_NODELAY=1
;
Some debugging stuff useful for troubleshooting
debug
= 7
output
= stunnel.log
;
Service-level configuration
;
IS ADDING SMPP AS SIMPLE AS ADDING IT HERE???
[ssmpp]
accept
= 127.0.0.1:3005
connect
= REMOTE_IP:9000
;
Use it for client mode
client
= yes
options
= all
;often
useful :
sslVersion=all
;-----------
;
vim:ft=dosini
=================================
Regards,
Apurva
From: Pierre
DELAAGE [mailto:delaage.pierre@free.fr]
Sent: Saturday, September 11, 2010
3:25 PM
To: Pathak, Apurva (Apu)
Cc: stunnel-users@mirt.net
Subject: Re: [stunnel-users] SMPP
Protocol and STunnel
Hello,
Provided that you are using SMPP over TCP/IP (not over X25), yes you could use
stunnel.
Next you have to know what port(s) are involved at the server side (ie the
"listening" socket(s)):
apparently there are two flavors of smpp over tcp: one using two network
connections, the other using only one ("tranceiver session").
Things will be more simple if you are using only one connection.
If you are using two connections, and provided that ssl is required on both,
just duplicate [smpp] section below as [smpp1] and [smpp2],
of course changing the "accept" and "connect" ports.
Then you have to get a valid CLIENT certificate (crt file) and key file.
Stunnel.conf can then look like this :
;------
; stunnel CLIENT conf
[smpps]
client = yes
accept=127.0.0.1:CHOOSE A LOCAL LISTENING PORT ON THE CLIENT
connect=SERVER_IP_ADDR:SERVER_LISTENING_PORT
cert=\localLocation\userXXXcert.crt
key =\localLocation\userXXXcert.key
;often useful :
sslVersion=all
;-----------
And of course you have to redirect your smpp client software to the
"pseudo smpp over ssl" local server(s) on localhost,
(cf "local listening port" above).
Hope this may help,
Pierre Delaage
Le 10/09/2010 19:51, Pathak, Apurva (Apu) a écrit :
Hello,
I would like to find out if I can
use STunnel as follows:
I have a stand alone C#
executable program that uses a third party SDK that implements SMPP protocol
and sends SMS text messages with wireless carriers. Recently, one of the
wireless carriers wants us to implement SSL Client Authentication and wants
SMPP messages that are exchanged with them to be encrypted after the client
authentication is done.
I want to find out if I can use
STunnel running so that STunnel can encrypt and decrypt the messages exchanged
between my program and the carrier’s SMS server.
(1) Is this possible with
STunnel?
(2) What are the steps involved?
I am on the Windows Server 2003
platform.
I would really appreciate a
reply.
Thanks,
Apu
_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users