Learn the steps to create the certificate of authority files for the specific DirectConnect server and service.
notepad DC.inreq_certtype=Server req_keytype=RSA req_keylength=512 req_country=US req_state=CO req_locality=Boulder req_organization=Sybase req_orgunit=Database req_commonname=servicename
Save the file.
certreq -F DC.in -R servicename_req.txt -K servicename_pkey.txt -P yourdcpassword
>certauth -C trusted.txt -Q servicename_req.txt -K CA_pkey.txt -P yourcapassword -T180 -O servicename.crt
Here is an example of the expected result:
Setting environment variables for this install....
Using DC_SYBASE.bat Environment file from: C:\Sybase\DC-15_0\bin...
1 file(s) copied.
-- Sybase SSL Certificate Authority Utility -- Certificate Validity: startDate = Thu Mar 20 10:21:41 2008 endDate = Tue Sep 16 11:21:41 2008 Setting serial number 0x31ab52626efa122f Could not sign certificate using signature type 20, error ‘No error string returned.’ (3000). Could not sign certificate using signature type 22, error ‘No error string returned.’ (3000) CA sign certificate SUCCEED using signature type 2, return ‘SSLNoErr’ (0).
type servicename_pkey.txt >> servicename.crt
copy trusted.txt servicename.txt
pwdcrypt
pwdcrypt Enter password please: Enter password again: The encrypted password: 0x018c2e0ea8cfc44513e8ff06f3a1b20825288d0ae1ce79268d0e8669313d1bc4c70c
ECHO encrypted_password>servicename.pwd
copy trusted.txt srvname.txt
CA_pkey.txt CA_req.txt servicename.txt servicename_pkey.txt servicename_req.txt srvname.txt trusted.txt DC.in servicename.crt servicename.pwd