Gemalto is now part of the Thales Group, find out more.

You are here

New BGS5T modems won't connect SSL | Thales IoT Developer Community

October 22, 2020 - 6:26am, 852 views

Good afternoon.

Problem with SSL connection in Java application.

17 BGS5T modems work correctly with the application.
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.000.10

New BGS5T modems were purchased
Cinterion
BGS5
REVISION 01.100
A-REVISION 00.001.36

Java application has stopped working correctly.
Through debug it turned out that SSL certification does not pass.

Exception on connection..java.io.IOException: Certificate does not contain the correct site name.

Used connection libraries:
javax.microedition.io.Connector;
javax.microedition.io.SecureConnection;

connection = (SecureConnection) Connector
                    .open(new StringBuffer("ssl://")
                    .append(SunHelixBGS.host)
                    .append(":")
                    .append(_port)
                    .append(";")
                    .append(operator.getConnectionProfile())
                    .toString());

connection = ssl://*****.ulges.ru:1***4;bearer_type=gprs;access_point=internet;timeout=60

Please help with solving this problem.