1. Problem description
The request with exception: The SSL connection could not be established, see inner exception. requestId
Clearly, an SSL connection issue.
2. Solution
Check the OpenSSL path first:
1 | openssl version -a |
which has a line:
1 | OPENSSLDIR: "/etc/pki/tls" |
The path is the OpenSSL path, followed by/cert
get the certificate path:
/etc/pki/tls/cert/
Copy the server default CA certificate:
1 | cp /etc/pki/tls/cert.pem <previously obtained path> |
For example:
1 | cp /etc/pki/tls/cert.pem /usr/local/openssl/cert/ |
That should solve the problem.
Fix .NET Error SSL Connection Cannot Be Established
Comments