Skip to main content

If OEM SSL certificate is expired

When i tried to start EM dbconsole got this “ERROR http: 14: Unable to initialize ssl connection with server, aborting connection attempt” in emagent.trc file. Then i realized that EM certificate is expired. You can check EM certificate state from any browser’s (IE, Mozilla etc.) security report. All you need is just “emctl secure dbconsole” command.

$ emctl secure dbconsole
TZ set to Turkey
Oracle Enterprise Manager 10g Database Control Release
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root password :
Enter a Hostname for this OMS : testora
DBCONSOLE already stopped…   Done.
Agent successfully stopped…   Done.
Securing dbconsole…   Started.
Checking Repository…   Done.
Checking Em Key…   Done.
Checking Repository for an existing Enterprise Manager Root Key…   Done.
Fetching Root Certificate from the Repository…   Done.
Updating HTTPS port in file…   Done.
Generating Java Keystore…   Done.
Securing OMS …   Done.
Generating Oracle Wallet Password for Agent….   Done.
Generating wallet for Agent …    Done.
Copying the wallet for agent use…    Done.
Storing agent key in repository…   Done.
Storing agent key for agent …   Done.
Configuring Agent…
Configuring Agent for HTTPS in DBCONSOLE mode…   Done.
EMD_URL set in /u01/app/oracle/product/10.2.0/db_1/fezarac1_feza1/sysman/config/
Configuring Key store..   Done.
Securing dbconsole…   Sucessful.

That’s it. Certificate is renewed now.


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.