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

Sending Jboss Server Logs to Logstash Using Filebeat with Multiline Support

In addition to sending system logs to logstash, it is possible to add a prospector section to the filebeat.yml for jboss server logs. Sometimes jboss server.log has single events made up from several lines of messages. In such cases Filebeat should be configured for a multiline prospector.
Filebeat takes lines do not start with a date pattern (look at pattern in the multiline section "^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}" and negate section is set to true) and combines them with the previous line that starts with a date pattern.

server.log file excerpt where DatePattern: yyyy-MM-dd-HH and ConversionPattern: %d %-5p [%c] %m%n
Logstash filter: