Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The keystore file is the one which would store the details of the certificates necessary to make the protocol secured. Certificates contain the information as to who is the source from which you are receiving the application data and to authenticate whether it is the intended party or not. To make this keystore you would have to use the keytool. So open command prompt in Windows or the shell in Linux and type:

Code Block
languagebash
cd %JAVA_HOME%/bin on Windows
cd $JAVA_HOME/bin on Linux

...

Change the sample input according to your requirements, but both the keypass and storepass passwords should be the same. The .bin file is actually your keystore file.

Code Block
    Enter keystore password:  mypassword
    What is your first and last name?
      [Unknown]:  mywebservice.myapp.mycompany.com When creating a cert for a website the first and last name will be the website url.
    What is the name of your organizational unit?
      [Unknown]:  My Unit
    What is the name of your organization?
      [Unknown]:  My Organization
    What is the name of your City or Locality?
      [Unknown]:  My City
    What is the name of your State or Province?
      [Unknown]:  My State
    What is the two-letter country code for this unit?
      [Unknown]:  CA
Code Block

The resulting bin file will be generated in your current working directory.

...