Key Creation (createkey) Utility

Creates an RSA key pairs for use with Unwired Server end-to-end encryption. This utility is located in <UnwiredPlatform_InstallDir>\Servers\SQLAnywhereXX\BINXX.

Syntax

createkey
When you run createkey, you are prompted for this information:
  • Choose encryption type – choose RSA.
  • Enter RSA key length (512-16384) – this prompt appears only if you chose RSA encryption. Choose a length between 512 bits and 16384 bits.
  • Enter file path to save public key – specify a file name and location for the generated PEM-encoded public key. This file is specified on the MobiLink client by the e2ee_public_key protocol option.
  • Enter file path to save private key – specify a file name and location for the generated PEM-encoded private key. This file is specified on the MobiLink server via the e2ee_private_key protocol option.
  • Enter password to protect private key – optionally, supply a password with which to encrypt the private key. The private key is not encrypted if you do not supply a password. This password is specified on the MobiLink server via the e2ee_private_key_password protocol option.

Examples