Setting up SSL with digital certificates. The SSL connection fails because the private key is not being found.
The digital certificate is defined wrong to the keyring.
USAGE(CERTAUTH) is specified for the certificate. It should be USAGE(PERSONAL) since its not a root certificate but a client certificate.
Examples commands to make the correction:
1. Remove the certificate from the keyring:
TSS REM(MASSERV) KEYRING(CSRRING) RINGDATA(CERTSITE,CSREKEY)
2, Add the certificate back with the correct USAGE:
TSS ADD(MASSERV) KEYRING(CSRRING) RINGDATA(CERTSITE,CSREKEY) USAGE(PERSONAL)