Intermittent failure in certificate handshake with the error msg :
CertificateException: Server cert 'cn=*.someserver.net' found but not trusted for SSL.
Caused by: Server cert 'cn=*.someserver.net' found but not trusted for SSL.
Release : CA API Gateway: All Releases
The trust is based on more than name. It is based on the SHA thumbprint of the certificate returned and depending on what host in the pool of the back-end it may be hitting the CN with the same name but with a different thumbprint.