My Oracle Support Banner

Securing WebLogic Server in OEM12c with Custom certificates Fail with Error java.lang.NullPointerException (Doc ID 1573609.1)

Last updated on JULY 13, 2022

Applies to:

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


The WebLogic Server components (Administration Server and EM Managed Server) installed as part of the Enterprise Manager 12c Cloud Control are, by default, configured with a demonstration identity keystore (DemoIdentity.jks) and a trust keystore ( DemoTrust.jks). Custom keystores are being imported to WLS as per the steps in Doc ID 1527874.1 and error below is reported

cd <OMS_HOME>/bin
emctl secure wls -jks_loc <location of keystore containing the custom certificate> -jks_pvtkey_alias alias for server certificate [-jks_pwd <keystore passwd>] [-jks_pvtkey_pwd <private key passwd>]
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Securing WLS... Started.
Enter JKS Password :
Enter Private Key Password :
Securing WLS... Failed. Check the log <EM_INSTANCE_HOME>/em/EMGC_OMS1/sysman/log/secure.log

Error below is logged in secure.log

2013-06-27 09:46:11,308 [main] ERROR oms.SecureWLSCmd processSecureWLS.446 - Securing of WLS failed with following error: 


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

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