Creating a Keystore File - trillium_quality - 17.1

Trillium TS Web Services Developer Guide

Product type
Software
Product family
Trillium
Product
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality
Title
Trillium TS Web Services Developer Guide
Topic type
How Do I
Overview
Configuration
Reference
Administration
Installation
First publish date
2008

You must first create a keystore file to store required information.

To create a keystore file:

  1. Open a terminal session (command prompt for Windows) on the machine where you are running Apache Tomcat.

  2. Create a keystore file using Java.
    1. Do one of the following:

      • Linux: enter  cd $JAVA_HOME/bin

      • Windows: enter  cd %JAVA_HOME%/bin

    2. Enter: keytool -genkey -alias tomcat -keyalg RSA
    3. You are prompted for the information about your organization. Enter the following values:
      Note: The values in bold are examples.
      trilliumuser: bin trilliumuser$ keytool -genkey -alias tomcat -keyalg RSA
      Enter keystore password: mypassword
      Re-enter new password: mypassword
      What is your first and last name?
        [Unknown]:  Trillium User
      What is the name of your organizational unit?
        [Unknown]:  Trillium
      What is the name of your organization?
        [Unknown]:  Trillium
      What is the name of your City or Locality?
        [Unknown]:  Burlington
      What is the name of your State or Province?
        [Unknown]:  MA
      What is the two-letter country code for this unit?
        [Unknown]:  US
      Is CN=Trillium User, OU=Trillium, O=Trillium, L=Burlington, ST=MA, C=US correct?
        [no]:  yes 
      Enter key password for
          (RETURN if same as keystore password):  mypassword
      Re-enter new password: mypassword
    4. The .keystore file will be generated in your user home directory.
      • Linux: /home/username
      • Windows: C:\Users\username