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 12.1.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
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
java.lang.NullPointerException
at oracle.sysman.emctl.secure.oms.SecureWLSCmd.createProxyWallet(SecureWLSCmd.java:723)
at oracle.sysman.emctl.secure.oms.SecureWLSCmd.processSecureWLS(SecureWLSCmd.java:430)
at oracle.sysman.emctl.secure.oms.SecureWLSCmd.main(SecureWLSCmd.java:199)
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 |