Key Pair Generator utility (createkey)

Creates RSA and ECC key pairs for use with MobiLink end-to-end encryption.

Syntax
createkey
Remarks

To create ECC objects, you must order a separate license. See Separately licensed components.

When you run createkey, you are prompted for the following information:

  • Choose encryption type   This prompt only appears if you have purchased a license for ECC encryption. Choose RSA or ECC.

  • Enter RSA key length (512-16384)   This prompt only appears if you chose RSA encryption. You can choose a length between 512 bits and 16384 bits.

  • Enter ECC curve   This prompt only appears if you have purchased a license for ECC encryption and you chose the ECC encryption type. You are prompted to choose from a list of ECC curves. The default is sect163k1.

  • 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. See e2ee_public_key.

  • 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. See -x 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. See -x option.

See also
Example

The following example creates an RSA key pair:

>createkey
SQL Anywhere Key Pair Generator Version 11.0.0.1304
Choose encryption type ((R)SA or (E)CC): r
Enter RSA key length (512-16384): 2048
Generating key pair...
Enter file path to save public key: rsapublic.pem
Enter file path to save private key: rsaprivate.pem
Enter password to protect private key: pwd