< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Mutual TLS server connection got "certificate name mismatch"


Hi,

   I am using Mutual TLS when my server listening a port 5061.

When my server got an INVITE in, it got a error message “certificate name mismatch" in tlsconnection.cxx.

      if (!mSecurity->compareCertName(cert, who().getTargetDomain()))

      {

         mState = Broken;

         mBio = 0;

         ErrLog (<< "Certificate name mismatch ");

         return mState;

      }

I check who().getTargetDomain() which is empty, I think this is the value should be,

because this is server tuple. There is nowhere to assign the member “mTargetDomain”.

Did I do something wrong? Or What could I miss?

 

Thanks,

 

Roland