certreq

Creates a server certificate request and corresponding private key. Use certreq in interactive mode, or provide all optional parameters on the command line.

The utility is located in:
  • (UNIX) $SYBASE/$SYBASE_OCS/bin.

  • (Windows) %SYBASE%\%SYBASE_OCS%\bin, as.certreq.exe

Syntax

certreq
	[-F input_file]
	[-R request_filename]
	[-K PK_filename]
	[-P password]

Or

certreq -v

Parameters

Examples

Usage

  • Adaptive Server includes the openssl open source utility in $SYBASE/$SYBASE_OCS/bin (%SYBASE%\%SYBASE_OCS%\bin in Windows). Use openssl to accomplish all certificate management tasks implemented by certreq, certauth and certpk12. Sybase includes this binary as a convenience, and is not responsible for any issues incurred using the binary. See the OpenSSL Web site for details.

  • The input file uses the format of tag=value. tag is case-sensitive and should be the same as described above.

  • Running certreq requires that you place the entry for $SYBASE/$SYBASE_OCS/lib3p before the entry for $SYBASE/$SYBASE_OCS/libp364 in the dynamic library search path

  • The “=” is required. Valid value should start with a letter or digit, must be a single word, and there should not be any spaces within value.

  • value is required for req_certtype, req_keytype, req_keylength and req_commonname.

  • The space or tab around <tag>, = and value is allowed. Blank lines are also allowed.

  • Each comment line should start with #.

  • The certificate request file is in PKCS #10 format and used as acceptable input for the certauth tool to convert the request to a CA-signed certificate.