Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secured SMPP implementation #177

Open
dilip-md opened this issue Sep 13, 2022 · 1 comment
Open

Secured SMPP implementation #177

dilip-md opened this issue Sep 13, 2022 · 1 comment
Labels

Comments

@dilip-md
Copy link

dilip-md commented Sep 13, 2022

Hi Team

We are using SMPP V5 (JSMPP 2.3.10) for sending SMSs to SMSC. Currently we are using Non-TLS default port 2775. We are looking to move to TLS flow. Just wanted to understand if we have different way of Binding in case of TLS binding compared to NON-TLS ??

I mean currently we are using connectAndBind with host port and all.... Is the implementation going to remain same for TLS binding too ?? like just replacing the NON-TLS port 2775 to TLS port ??

@pmoerenhout
Copy link
Member

Please check the OpenAndBindExample code. There a factory is used to deliver the right connection:

try (SMPPSession session = useSsl ? new SMPPSession(new TrustStoreSSLSocketConnectionFactory()) : new SMPPSession()) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants