Export or import a PKCS #12 file into a certificates file and a private key.
(UNIX) $SYBASE/$SYBASE_OCS/bin.
(Windows) %SYBASE%\%SYBASE_OCS%\bin, as certpk12.exe.
certpk12 {-O Pkcs12_file | -I Pkcs12_file} [-C Cert_file] [-K Key_file] [-P key_password] [-E Pkcs12_password]
or:
certpk12 -v
certpk12 -O caRSA.p12 -C caRSA.crt -K caRSApkey.txt -P password -E pk12password -- Sybase PKCS#12 Conversion Utility certpk12 Thu Nov 9 16:55:51 2000--
certpk12 -I caRSA.p12 -C caRSA_new.crt -K caRSApkey_new.txt -P new_password -E pk12password -- Sybase PKCS#12 Conversion Utility certpk12 Thu Nov 9 16:55:51 2000--
new_password is used to protect caRSApkey_new.txt, and pk12password is required to decrypt caRSA.p12 file.
certpk12 -O caRSAcert.p12 -C caRSA.crt -E pk12password -- Sybase PKCS#12 Conversion Utility certpk12 Thu Nov 9 16:55:51 2000--
certpk12 -I caRSAcert.p12 -C caRSAcert.txt -E pk12password -- Sybase PKCS#12 Conversion Utility certpk12 Thu Nov 9 16:55:51 2000--
pk12password is required to decrypt caRSAcert.p12 file.
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.