Showing results for 
Search instead for 
Did you mean: 

MatchTargetName Error while SSL connection

Former Member
0 Kudos


I tried to create a HTTP connection to an external server via SM59. My target system is the Microsoft OAuth Service. As I have to use SSL I imported the certificate chain into STRUST. When I try to test the connection I get a SSL Error. Looking in ICM Log I can find following error message:

MatchTargetName("", "") FAILS

I recognised that the certificate is issued for '' and not for '*'. I wonder if this could be the reason for the SSL error. As I can't get another certificate is there a possibility to work around this error? I'm glad for every hint.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello Mike,

This certificate contains the 'correct' hostname as Subject Alt Name:

DNS Name: *

You might need to update the sapcryptolib or the SAP kernel so that the HTTP client supports Subject Alt Names. See SAP Note 1386889 for more detail.

Best regards,


Answers (0)