Showing results for 
Search instead for 
Did you mean: 

'SSL: certificate subject name 'xx' does not match target host name '''


  I have created a account in I have given the API keys accordingly. But when i make a check out i get this error


"SSL: certificate subject name 'SSL: certificate subject name 'FG100C3G11611181' does not match target host name ''' does not match target host name ''"


I have added the code


curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);


in the file authrize_aim.php inside include.. I still getting this error. Can Any one explain what error is this and how can it be solved?


Don't know why you're getting that error. But setting CURLOPT_SSL_VERIFYHOST to 2 will not help. Try setting it to 1.


Hi TJ..Thanks for your reply..


  My project is in joomla with LMS (learning mannagement system) component. I downloaded the sample code from this link  I exce it in my web server which is  I got the SIM correct but AIM with curl did not work. It just had 1. and never display anything. The same script I exec in my local web server (localhost) and it went on with reply of successful message. So i checked the two servers phpinfo() and got the below given info. Can anyone tell me what could be the problem?

My localhost phpinfo():

My server phpinfo():

I am sorry.. its suppose to be


My server phpinfo():

My localhost phpinfo():

Maybe also try setting CURLOPT_SSL_VERIFYPEER to FALSE? I still have no idea why that error would trigger, though.