My Oracle Support Banner

EM13c: Securing OMS failed- DemoTrust.jks (No such file or directory) (Doc ID 2727703.1)

Last updated on NOVEMBER 29, 2020

Applies to:

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

Symptoms

OEM 13.3
WebLogic 12.1.3.0

While following steps from "EM 13c: Enterprise Manager 13c Cloud Control Configuration to Support Transport Layer Security Protocol:TLSv1.2 only (Doc ID 2212006.1)", trying to execute secure OMS results below error:

<OMS_HOME>/bin/emctl secure oms -console -protocol "TLSv1.2"
Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
Securing OMS... Started.
Enter Enterprise Manager Root (SYSMAN) Password :
Enter Agent Registration Password :
Securing OMS failed : /u01/app/oracle/Middleware/wlserver/server/lib/DemoTrust.jks (No such file or directory)
Check the log /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/log/secure.log

 

secure.log
=======

2020-10-27 10:48:46,156 [main] ERROR oms.SecureOMSCmds processSecureOMS.2045 - Securing of OMS failed with following error:
java.io.FileNotFoundException: /u01/app/oracle/Middleware/wlserver/server/lib/DemoTrust.jks (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at oracle.sysman.emctl.secure.oms.SecureWLSCmd.getTrustedCertsFromJKSX509(SecureWLSCmd.java:1378)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.processSecureOMS(SecureOMSCmds.java:1525)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.main(SecureOMSCmds.java:729)
2020-10-27 10:48:46,252 [main] ERROR oms.SecureOMSCmds main.761 - Securing OMS failed : /u01/app/oracle/Middleware/wlserver/server/lib/DemoTrust.jks (No such file or directory)
java.io.FileNotFoundException: /u01/app/oracle/Middleware/wlserver/server/lib/DemoTrust.jks (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at oracle.sysman.emctl.secure.oms.SecureWLSCmd.getTrustedCertsFromJKSX509(SecureWLSCmd.java:1378)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.processSecureOMS(SecureOMSCmds.java:1525)
at oracle.sysman.emctl.secure.oms.SecureOMSCmds.main(SecureOMSCmds.java:729)

 

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.