cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI - HTTP Outbound Basic Auth - General SSL Engine Problem

selvakumar_5984
Explorer
0 Kudos

We are trying to connect to a Rest service using HTTP Adapter using Basic Authentication.

I have downloaded the certificate and added in the Tenant.

Before adding this certificate I used to get SSL error in the Connectivity Test.

After adding the Certificate in Connectivity Test is working. But when connecting through the iFLow, it is throwing SSL error.

Please help to resolve the issue.

com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: General SSLEngine problem no subject alternative names present

Since it is a Test environment, the certificate is not valid. The URL I am connecting is with IP Address. The Certificate has Host name. How to overcome this issue in Test environment? Can we disable this validation in SCPI?

Regards,

Selva

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Try importing the root certificate.

0 Kudos

Hi Selva.

I've exactly same problem with IP addres I get 2 error:

1. com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: General SSLEngine problem.

2. java.net.ConnectException: General SSLEngine problem, cause: java.security.cert.CertificateException: No subject alternative names matching IP address x.x.x.x found.

Basis said me, SSL cert is malformed.

Did you solve your Issue?

Best regards.

Carlos!

selvakumar_5984
Explorer
0 Kudos

Hi Carlos,

We got new URL with Hostname, but the same issue occurred.

Since its test environment, we changed HTTPS to HTTP and it worked.

Hope it helps..

Regards,

Selva