Kbase P113560: Error 7203 when connecting a .NET application to Secure AIA
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  26/05/2010 |
|
Status: Unverified
SYMPTOM(s):
Error 7203 when connecting a .NET application to Secure AIA
SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error]
SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error: 9990. (7203) ]
The http protocol connection failed (9986)
A http network protocol error occurred (9996)
An http protocol error occurred (9990)
The underlying connection was closed: Could not establish trust relationship with remote server. (7203)
FACT(s) (Environment):
OpenEdge 10.x
All Supported Operating Systems
CAUSE:
This is an issue with how Microsoft handles the certificates when establishing a SSL connection, not a Progress Open Client issue.
For the .NET OpenClient's HTTPS support, we use Microsoft's .NET class library (httpWebRequest).
So Microsoft is the one doing the validation of the certificate. You must install the certificate in the Trusted Root Certification Authorities
store first before you run the .NET application.
FIX:
Implement the ICertificatePolicy in the open client application, this class should have the CheckValidationResult() which only should return true to force the certificate to be accepted.