Collection Contents Index Certificate viewer utility [viewcert] Next PDF

SQL Anywhere® Server - Database Administration  > Transport-Layer Security  > Certificate utilities

Certificate generation utility [gencert] (deprecated)


Creates new ECC or RSA certificates and signs pre-generated certificate requests. This utility is deprecated. Use Certificate creation utility [createcert].

Syntax

gencert [ -c | -s ] [ -r | -q ]

Option Description
-c Creates a certificate you can use to sign other certificates. If used with -r, generates an enterprise root certificate.
-s Creates a server identity file. The server identity file contains of a server's private key and certificate. You reference the server identity file when you start the MobiLink server (for MobiLink transport-layer security) or database server (for SQL Anywhere client/server transport-layer security). If used with -r, generates a self-signed server certificate.
-r Creates a self-signed root certificate. If used with -s, gencert creates a self-signed server certificate. If used with -c, gencert creates an enterprise root certificate you can use to sign other certificates. If you specify gencert -r with no additional options, gencert creates a certificate you can use as a server certificate or an enterprise root. This option is not compatible with -q.
-q request-file Signs a pre-generated certificate request. If used with -s, gencert creates a server certificate. If used with -c, gencert creates an enterprise root certificate you can use to sign other certificates. If you specify gencert -q with no additional options, gencert creates a certificate you can use as a server certificate or an enterprise root. The -q option is not compatible with -r.

If you do not specify -s or -c, the certificate contains the functionality provided by both options, so it can be used to sign other certificates or you can use it directly as a server certificate.

Description

You can use the gencert utility to generate trusted certificates, private keys, and server certificates used to secure MobiLink synchronizations or SQL Anywhere client/server communication. This utility creates X509 certificates (a standard certificate format) for various security configurations.

Gencert prompts you for the following information:

See also

Collection Contents Index Certificate viewer utility [viewcert] Next PDF