Securing WebLogic Server in OEM12c with Custom certificates Fail with Error java.lang.NullPointerException

(Doc ID 1573609.1)

Last updated on AUGUST 02, 2013

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 /u01/app/oracle/product/fmw/gc_inst/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: 




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