SSL: certificate subject name does not match target host name
<p>I have a unity project and contact an API for collecting data.
In the Editor, Android build, iOS build and Windows build everything is working fine. But the build for OSX gives me errors:</p>

<pre><code>SSL: certificate subject name 'com-linweb061' does not match target host name 'ava-trix.com'
</code></pre>

<p>But the common name in my certificate is *.ava-trix.com, as you can see here:
<a href="https://www.sslshopper.com/ssl-checker.html?hostname=https://ava-trix.com" rel="nofollow">https://www.sslshopper.com/ssl-checker.html?hostname=https://ava-trix.com</a></p>

<p>I have no idea what the problem is here. Can anyone help me out?</p>