SSL via SMPP for SMSC connection

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SSL via SMPP for SMSC connection

le_den
Hi all,

I'm trying to connect to supplier using SSL but Kannel wont do that and showing me following error:

2017-07-11 13:13:22 [7667] [291] ERROR: conn_open_ssl: private key isn't consistent with the certificate from file /opt/kannel/etc/smsc.d/certs/cert.pem (or failed reading the file)

That could be related to key itself however I'd like to know if there is any option to be connected to supplier via SSL?

Like it does for ESME connections:

smppbox-ssl-port = 7400
ssl-server-cert-file = "/opt/kannel/etc/cert.d/cert.pem"
ssl-server-key-file = "/opt/kannel/etc/cert.d/key.pem"


Thank you in advance!
----
Best Regards,



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SSL via SMPP for SMSC connection

amalysh
Hi,

use-ssl = true  in smsc group ?

Thanks,
Alex

Am 18.07.2017 um 10:28 schrieb Denis Lezgin <[hidden email]>:

Hi all,

I'm trying to connect to supplier using SSL but Kannel wont do that and showing me following error:

2017-07-11 13:13:22 [7667] [291] ERROR: conn_open_ssl: private key isn't consistent with the certificate from file /opt/kannel/etc/smsc.d/certs/cert.pem (or failed reading the file)

That could be related to key itself however I'd like to know if there is any option to be connected to supplier via SSL?

Like it does for ESME connections:

smppbox-ssl-port = 7400
ssl-server-cert-file = "/opt/kannel/etc/cert.d/cert.pem"
ssl-server-key-file = "/opt/kannel/etc/cert.d/key.pem"


Thank you in advance!
----
Best Regards,




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SSL via SMPP for SMSC connection

le_den
Hi Alex,

Yes, I have it in smsc group:

group = smsc
smsc = smpp
.......
ssl-client-certkey-file = "/opt/kannel/etc/smsc.d/certs/cert.pem"
use-ssl = true
......

Thank you.
----
Best Regards,




On 20 July 2017 at 23:21, <[hidden email]> wrote:
Hi,

use-ssl = true  in smsc group ?

Thanks,
Alex

Am 18.07.2017 um 10:28 schrieb Denis Lezgin <[hidden email]>:

Hi all,

I'm trying to connect to supplier using SSL but Kannel wont do that and showing me following error:

2017-07-11 13:13:22 [7667] [291] ERROR: conn_open_ssl: private key isn't consistent with the certificate from file /opt/kannel/etc/smsc.d/certs/cert.pem (or failed reading the file)

That could be related to key itself however I'd like to know if there is any option to be connected to supplier via SSL?

Like it does for ESME connections:

smppbox-ssl-port = 7400
ssl-server-cert-file = "/opt/kannel/etc/cert.d/cert.pem"
ssl-server-key-file = "/opt/kannel/etc/cert.d/key.pem"


Thank you in advance!
----
Best Regards,





Loading...