Did this article resolve your question/issue?



OpenEdge Secure Socket connection fails with error 9318

« Go Back


TitleOpenEdge Secure Socket connection fails with error 9318
URL NameP123529
Article Number000137576
EnvironmentProduct: OpenEdge
Version 10.1x, 11.x
Product: Progress
Version: 9.x
OS: All supported platforms
Question/Problem Description
OpenEdge Secure Socket connection fails to connect using HTTPS. An error message is generated with OpenEdge error 9318 (SSL failure) and internal error code -54 (unable to get local issuer certificate).
Steps to Reproduce
Clarifying Information
Using ABL statement:
CONNECT "-ssl -H <HTTPS URL> -S <port>"
Socket can be accessed via Web Browser and certificate is used with no errors
Error MessageSecure Socket Layer (SSL) failure. error code <err_number>: <ssl_error_message> (9318)
Secure Socket Layer (SSL) failure. error code -54: unable to get local issuer certificate <Certificate Name> from <DLC>\certs (9318)
Defect/Enhancement Number
Root certificate has not been imported to OpenEdge
1 - Go to Control Panel -> Internet Options -> Content folder -> "Certificates" button ->Trusted Root certification Authorities -> Choose required certificate and click on "Export" button.

2 - Export as DER encoded binary X.509 (.CER)

3 - Import to OpenEdge using the following command from PROENV:

certutil -format DER -import exportedfilename.cer
This error can occur for any missing certificate, not only the root certificate. If a lower-level certificate has not been imported, the socket may not be accessible through a browser.
Last Modified Date12/29/2014 12:22 PM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.