Intermittent "No Trusted Certifcates" or "host name '<hostname>' in request does not match server's certificate subject" Error In Oracle API Gateway (Doc ID 1922652.1)

Last updated on FEBRUARY 03, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

When making an SSL call in the Gateway, the Connection Filter fails intermittently.  The issue concerns an SSL session that has not been correctly initialized.
An SSL connection is attempted, then immediately was retried when that fails.  Both attempts failed.  Three seconds later, a connection to the end point was attempted and this time it worked as expected.

These failures can happen at any time but are most common in the period after a restart of the Gateway.
It is not necessarily the first request that fails after a restart, it might be the second, the fifth, or any subsequent attempt.

The trace can have something similar to this:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms