[stunnel-users] SMPP Protocol and STunnel
delaage.pierre at free.fr
Sat Sep 11 21:25:23 CEST 2010
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
client = yes
accept=127.0.0.1:CHOOSE A LOCAL LISTENING PORT ON THE CLIENT
;often useful :
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,
Le 10/09/2010 19:51, Pathak, Apurva (Apu) a écrit :
> 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
> 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.
> stunnel-users mailing list
> stunnel-users at mirt.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stunnel-users