EM 12c, EM 13c: Securing Enterprise Manager 12c Cloud Control OMS with a Third Party Certificate Fails with " User certificate is not present in the given external wallet " (Doc ID 1670890.1)

Last updated on OCTOBER 26, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.2.0 to 13.2.0.0.0 [Release 12.1 to 13.2]
Information in this document applies to any platform.

Symptoms

Securing the EM 12c Cloud Control OMS with a third party certificates fails with following error:

<OMS_HOME>/bin>./emctl secure oms -host <slbmachine.domain> -secure_port <secure upload port> -slb_port <slb upload port> -slb_console_port <slb console port> -wallet /home/oraoms/wallets001 -trust_certs_loc /home/oraoms/wallets001/trusted_certs.txt
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Securing OMS... Started.
Enter Enterprise Manager Root (SYSMAN) Password :
Enter Agent Registration Password :
Securing OMS... Failed. Check the log /apps/oracle/middleware/gc_inst/em/EMGC_OMS1/sysman/log/secure.log
 
Following are the entries from secure.log:

2014-04-04 18:08:03,770 [main] INFO oms.SecureOMSCmds processSecureOMS.964 - Validating wallet /apps/oracle/middleware/gc_inst/WebTierIH1/config/OHS/ohs1/keystores/upload/temp ; hostname to be present in wallet's user cert is: <SLB hostname>
2014-04-04 18:08:03,770 [main] INFO oms.SecureOMSCmds validateExtWallet.1834 - Validating if user cert for <SLB hostname> exists in external wallet /apps/oracle/middleware/gc_inst/WebTierIH1/config/OHS/ohs1/keystores/upload/temp
2014-04-04 18:08:03,813 [main] ERROR oms.SecureOMSCmds validateExtWallet.1840 - User certificate is not present in the given external wallet
2014-04-04 18:08:03,815 [main] ERROR oms.SecureOMSCmds processSecureOMS.1469 - Securing of OMS failed with following error:
java.lang.Exception: User certificate is not present in the given external wallet
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.validateExtWallet(SecureOMSCmds.java:1841)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.processSecureOMS(SecureOMSCmds.java:965)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.main(SecureOMSCmds.java:605)
2014-04-04 18:08:03,818 [main] ERROR oms.SecureOMSCmds main.636 - Securing OMS failed : User certificate is not present in the given external wallet
java.lang.Exception: User certificate is not present in the given external wallet

  • Note: In some cases, while securing console 'java.lang.NullPointerException' is reported in secure.log:

2014-09-30 13:30:54,182 [main] ERROR oms.SecureConsoleCmds main.178 - Failed to secure the Console: null
java.lang.NullPointerException
at oracle.sysman.emctl.secure.oms.SecureConsoleCmds.processSecureConsole(SecureConsoleCmds.java:288)
at oracle.sysman.emctl.secure.oms.SecureConsoleCmds.main(SecureConsoleCmds.java:166)

 

 

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