Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Thursday, August 20, 2015

emctl/dbconsole is not accessible or Enterprise Manager is not accessible via Firefox or chrome --> Error code: ssl_error_rx_record_too_long)


While trying to access my "Self Signed" enterprise manager dbconsole residing on my local laptop....I get the below error message in FireFox/Chrome.

 If you are using FF-38.1 or 38.6 and higher you will not be able to add an exception of this URL.

In FireFox:
Secure Connection Failed

An error occurred during a connection to XXXXXX:5500. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.


Workaround: (Use HTTP PORT)
==========
Currently dbconsole is using https:
[oracle@collabn1 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://collabn1.shaiksameer:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0.2/SHAIKPROD/collabn1_orcl/sysman/log
[oracle@collabn1 ~]$ cd /u01/app/oracle/product/11.2.0.2/SHAIKPROD/collabn1_orcl/sysman/log

Configure it to use non-ssl or http port:

[oracle@collabn1 log]$ emctl unsecure dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://collabn1.shaiksameer:5500/em/console/aboutApplication
Configuring DBConsole for HTTP...   Done.
DBCONSOLE successfully stopped...   Done.
Agent is already stopped...   Done.
Unsecuring dbconsole...   Started.
DBConsole is now unsecured...  Done.
Unsecuring dbconsole...  Sucessful.
DBCONSOLE successfully restarted...   Done.

Verify the http conversion:

[oracle@collabn1 log]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
http://collabn1.shaiksameer:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0.2/SHAIKPROD/collabn1_orcl/sysman/log



No comments: