System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
An error occurred in SSL processing; check the errno value.<br />
[SSL_ERROR_SSL_NOT_AVAILABLE]<br />
SSL is not available for use.<br />
[SSL_ERROR_UNSUPPORTED]<br />
Operation is not supported by SSL.<br />
None of the specified protocol or cipher values are supported by <strong>System</strong> SSL.<br />
[SSL_ERROR_UNKNOWN]<br />
An unknown or unexpected error occurred during SSL processing.<br />
Error Conditions<br />
When the SSL_Init_Application() API fails with return code [SSL_ERROR_IO], errno can be set to:<br />
[EINVAL]<br />
[EACCES]<br />
Parameter not valid.<br />
Permission denied.<br />
This error code indicates one of the following:<br />
v The applicationID field contains a registered application identifier to which the user is not<br />
authorized.<br />
v The user profile, which the application is operating under, is not authorized to the key<br />
database file or its associated files.<br />
[EFAULT]<br />
[EUNATCH]<br />
Bad address.<br />
[EUNKNOWN]<br />
The system detected an address that was not valid while attempting to access the init_app<br />
parameter or one of the address fields in the init_app parameter.<br />
The protocol required to support the specified address family is not available at this time.<br />
Unknown system state.<br />
Error Messages<br />
Message ID Error Message Text<br />
CPE3418 E Possible APAR condition or hardware failure.<br />
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.<br />
CPFA081 E Unable to set return value or error code.<br />
Usage Notes<br />
1. Before the SSL_Init_Application() API can be used, the user must have registered the application using<br />
the Register Application for Certificate Use (OPM, QSYRGAP; ILE, QsyRegisterAppForCertUse) API.<br />
The Register Application For Certificate Use API registers an application with the registry facility,<br />
allowing an application to be associated with a specific certificate. The Register Application for<br />
88 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>