Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

ESH6 not working with SSL config | Telit Cinterion IoT Developer Community

August 24, 2015 - 10:59am, 2629 views

Hello

I have configed sll follow  EHSx Java User Guide on ESH6 but I have received "javax.microedition.pki.CertificateException: Certificate does not contain the correct site name" error when started app.

I exported file "server.der" public cretificate auth from browser https

after that i used command "java -jar jseccmd.jar -cmd AddHttpsCertificateUntrusted
-filename ./server.der > AddHttpsCertificateUntrusted.bin" to create file cretificate

ESH6 version info:

◆Cinterion
EHS6
REVISION 02.000
A-REVISION 00.000.15

◆Default  config on ESH6 is:

at^sjmsec?
^SJMSEC: 1,0,1,0

◆I have changed it for use SSL

+at^sjmsec="cmd",0B00310001000500020001

and install  crefiticate has just created

+at^sjmsec="file",AddHttpsCertificateUntrusted.bin

confirm to changed

at^sjmsec?
^SJMSEC: 1,1,1,0

◆This is my code :

url = "https://***:443"

http = (HttpsConnection) Connector.open(url);

◆after ran app i receviced this error:javax.microedition.pki.CertificateException: Certificate does not contain the correct site name" error when started app

Have something wrong when i configed SSL?

Thanks for helps