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 mlsrv12 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 mlsrv12 option.
>createkey
SQL Anywhere Key Pair Generator Version 12.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