My Oracle Support Banner

EM 12c: Agent Status Fails With "Status agent Failure:unable to connect to http server at <agent_url> failed to match hostname with certificate DN (Doc ID 2125236.1)

Last updated on JANUARY 22, 2024

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

12c agent start fails with following error:

<AGENT_INST_HOME>/bin>./emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Agent status could not be determined. Check the agent process
Consult emctl.log and emagent.nohup in: /opt/ora11g/product/agent12/agent_inst/sysman/log

Checking the agent Status shows following error:

<AGENT_INST_HOME>/bin>./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://<Agent host name>.<domain>:1830/emd/lifecycle/main/. [failed to match hostname <Agent host name> with 
certificate DN CN=<host name 2>.<domain>]

       The host names shown in the error message are different host names.

 

       /core/12.1.0.5.0/cfgtoollogs/oui/configActions2016-04-05_02-42-12-PM.log


       Agent Configuration completed successfully
      Oracle Enterprise Manager Cloud Control 12c Release 5
      Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
      Agent status could not be determined. Check the agent process
      Consult emctl.log and emagent.nohup in: /opt/ora11g/product/agent12/agent_inst/sysman/log
      Verificando agente ...
      Oracle Enterprise Manager Cloud Control 12c Release 5
      Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
      ---------------------------------------------------------------
      Status agent Failure:unable to connect to http server at https://<Agent host name>.<domain>:1830/emd/lifecycle/main/. [failed to match <Agent host name>.<domain> with certificate DN CN=<Agent host name>]

 

OR

./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://<Agent host name>.<domain>:3872/emd/lifecycle/main/. [failed to match hostname <Agent host name>.<domain> with certificate DN CN=<Agent host name>]

/cfgtoollogs/oui/configActions2016-04-05_02-42-12-PM.log
Agent Configuration completed successfully
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Agent status could not be determined. Check the agent process
Consult emctl.log and emagent.nohup in: /agent_inst/sysman/log
Verificando agente ...
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Status agent Failure:unable to connect to http server at https://<Agent host name>.<domain>:1830/emd/lifecycle/main/. [failed to match hostname <hostname> with certificate DN CN=<Agent host name>.<domain>]

The host names shown in the error are the fully qualified domain name (FQDN) and the short host name.

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.