Create A Java Security Environment Step By Step; Create Key Store; Export X.509 Root Certificate; Create Java Security Commands - Siemens XT65 User Manual

Siemens cell phone accessories user manual
Hide thumbs Also See for XT65:
Table of Contents

Advertisement

Java User's Guide

12.5 Create a Java Security Environment Step by Step

112
12.5
Create a Java Security Environment Step by Step
12.5.1

Create Key Store

The key store contains the key pairs for signing data. For producing the key store with keys the
tool "keytool.exe" can be used. The program is in the Java SDK. (for a description see
java.sun.com/j2se/1.3/docs/tooldocs/solaris/keytool.html).
Example:
keytool -genkey -alias keyname -keypass keypassword -keystore customer.ks
-storepass keystorepassword -sigalg SHA1withRSA -keyalg RSA
If you want to re-use the key store created in
words used there.
12.5.2

Export X.509 Root Certificate

For exporting the x.509 root certificate use "keytool.exe". The program is in the Java SDK. (for
description see http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/keytool.html)
keytool -export -v -keystore customer.ks -storepass keystorepassword
-alias keyname > certificate.der
12.5.3

Create Java Security Commands

For producing the java security commands the tool "jseccmd.jar" can be used. This program is
in the folder "wkt\bin".
Command for inserting the Customer Root Certificate
- In consequence of the command
Java security mode: ON (untrusted domain OFF)
HTTPS certificate verification: OFF
MES state: ON
java -jar jseccmd.jar -cmd SetRootCert
Command for removing the Customer Root Certificate
- In consequence of the command all switches are reset
Java security mode: OFF (untrusted domain OFF)
HTTPS certificate verification: OFF
MES state: ON
java -jar jseccmd.jar -cmd DelRootCert
wm_java_usersguide_v12
Confidential / Released
Section 12.1.1
-certfile certificate.der
-imei 012345678901234 -alias keyname
-storepass keystorepassword -keypass keypassword
-keystore customer.ks > SetRootCert.bin
-imei 012345678901234 -alias keyname
-storepass keystorepassword -keypass keypassword
-keystore customer.ks > DelRootCert.bin
Page 110 of 123
s
you have to use the alias and pass-
http://
2008-02-25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ac65Ac75Xt75Tc65

Table of Contents