Skip to Content
author's profile photo Former Member
Former Member

MatchTargetName Error while SSL connection


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.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Apr 18, 2013 at 12:51 PM

    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,


    Add comment
    10|10000 characters needed characters exceeded