certpk12

Export or import a PKCS #12 file into a certificates file and a private key.

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

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

Syntax

certpk12
	{-O Pkcs12_file | -I Pkcs12_file}
	[-C Cert_file]
	[-K Key_file]
	[-P key_password]
	[-E Pkcs12_password]

or:

certpk12 -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.

  • certpk12 only supports triple-DES encrypted PKCS #12 file.

  • Running certpk12 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

  • Append certificate requestor’s private key to the end of its signed certificate file.

  • Name the file servername.crt, where servername is the name of the server. Place it in the certificates directory under $SYBASE/$SYBASE_ASE (%SYBASE%\%SYBASE_ASE% on Windows).

    This file is needed to start the SSL-enabled Adaptive Server.