TC65 JAVA User's Guide

Strictly confidential / Released

s

11.1.1Create a Secure Data Transfer Environment Step by Step

The following steps describe the creation of the configuration:

Java Security Mode is activated (see 11.2.1 Change to Secured Mode)

Certificate verification is activated for a data connection (HTTPS or SecureConnection)

The steps described below use the cygwin + openssl environment (for installation see http://www.cygwin.com/, the openssl documentation can be found here http://www.openssl.org/docs/apps/openssl.html)

1.Create CA and generate CA Root Certificate

-We need certificates with sha1 signature. Java Security supports a sha1 signature of the certificate only.

Add the parameter "-sha1" to the command "Making CA certificate ..." in the section of file CA.pl (cygwin location “\cygwin\usr\ssl\misc”)

-create a shell (use location \cygwin\usr\ssl\misc)

-execute commands

>perl CA.pl –newca

-convert file format from PEM to DER

CA certificate cacert.pem

>openssl x509 -in ./demoCA/cacert.pem -inform PEM -out ./demoCA/cacert.der -outform DER

CA private key file cakey.pem

>openssl pkcs8 -in ./demoCA/private/cakey.pem -inform PEM

-out ./demoCA/private/cakey.der -outform DER -nocrypt -topk8

2.Create server certificate and java keystore

-execute command

>keytool -genkey -alias server -keypass keypass -keystore customer.ks -storepass keystorepass -sigalg SHA1withRSA -keyalg RSA

the field “name” of the certificate is the domain name or the IP address of the server

3.Create certificate request for server certificate

-execute command

>keytool -certreq -alias server -file server.csr -keypass keypass

-keystore customer.ks -storepass keystorepass

4.Sign certificate request by CA

-execute command

>openssl ca -in server.csr -out server.pem

-convert file format from PEM to DER

>openssl x509 -in server.pem -inform PEM

–out server.der -outform DER

5.Import CA root certificate and CA private key into java keystore

-Use the CA Root Certificate for the creation of Java Security Command (see chapter 11.5.3)

-execute command

>java -jar setprivatekey.jar -alias dummyca -storepass keystorepass -keystore customer.ks -keypass cakeypass

TC65 JAVA User's Guide_V05

Page 72 of 90

26.09.2005

Page 72
Image 72
Siemens TC65 manual Create a Secure Data Transfer Environment Step by Step, Create CA and generate CA Root Certificate

TC65 specifications

The Siemens TC65 is a compact and powerful GSM/GPRS module designed for a wide range of mobile communication applications. With its robust features, the TC65 perfectly meets the growing demands for connectivity in various industries, including automotive, telematics, and industrial automation.

A standout feature of the TC65 is its compact size, allowing it to be easily integrated into various devices without compromising on performance. The module supports GSM (Global System for Mobile Communications) and GPRS (General Packet Radio Service), providing reliable and efficient voice and data transmission.

One of the key technologies incorporated in the TC65 is its integrated TCP/IP stack, which allows for seamless internet connectivity and enables application developers to create IoT solutions with ease. This capability is essential for remote monitoring, data logging, and other applications that require continuous data exchange.

The TC65 also boasts extensive multimedia capabilities, including support for SMS, MMS, and voice calls. This makes it suitable for applications that require not only data transmission but also communication features. Additionally, it supports various codecs for voice compression, ensuring high-quality audio in voice applications.

Enhanced security features are another highlight of the TC65. It incorporates comprehensive security protocols to safeguard data transmission, making it suitable for sensitive applications in finance, healthcare, and other critical sectors. The module also includes an integrated SIM application toolbox that supports the development of secure and customizable applications.

For developers, the TC65 offers an easy-to-use software development kit (SDK), simplifying the process of application development. This means that businesses can quickly create and deploy solutions tailored to their specific needs.

The module operates across a wide voltage range and is designed to tolerate challenging environmental conditions, making it ideal for industrial use. It supports various interfaces, including UART, GPIO, and I2C, enabling it to connect with a variety of peripherals and sensors, thus expanding its usability.

In summary, the Siemens TC65 combines compact design, versatile communication capabilities, advanced security features, and developer-friendly resources, making it an excellent choice for anyone looking to implement reliable and sophisticated GSM/GPRS communication in their applications. The TC65 is a valuable asset in the evolving landscape of connected devices and IoT solutions.