Home » RDBMS Server » Enterprise Manager » changing em url https to http (oracle 10g,10.2.0.1.0,xp)
changing em url https to http [message #430566] Wed, 11 November 2009 01:21 Go to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
Can any one help me solve this issue. I have installed oracle 10g database after installation my enterprise manager link is giving me secure connection(https), how can i change this back to http.


current :https://yoonuspc:5500/em

expected :http://yoonuspc:5500/em

looking forward to your supporting.

Thanks in advance
uns
Re: changing em url https to http [message #430570 is a reply to message #430566] Wed, 11 November 2009 01:24 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Why do you want to change this? Do you want someone can read your sensitive information and then can hack your database?

Regards
Michel

[Updated on: Wed, 11 November 2009 01:27]

Report message to a moderator

Re: changing em url https to http [message #430573 is a reply to message #430566] Wed, 11 November 2009 01:27 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
My network team is saying it should not be with secure.
Re: changing em url https to http [message #430575 is a reply to message #430573] Wed, 11 November 2009 01:33 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Ask your network team why they are saying this.
It should be for the reasons I gave.

Regards
Michel
Re: changing em url https to http [message #430577 is a reply to message #430575] Wed, 11 November 2009 01:39 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
Basically, we were testing on the test system how to enable secure. But I am stuck with how to disable the secure on dbconsole.

Can you help? This is a test system.
Re: changing em url https to http [message #430579 is a reply to message #430577] Wed, 11 November 2009 01:43 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
I really don't understand, you are trying to secure and for this you want to unsecure what is already secure?
Quite silly, isn't it?

Regards
Michel
Re: changing em url https to http [message #430582 is a reply to message #430579] Wed, 11 November 2009 01:49 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
we have a 10g database on my PC for testing, whose EM I have secured using:
emctl secure dbconsole

so, now the em works through https://

Now i was trying the oracle documentation and not getting any help to unsecure or disable ssl for em as it was before. (i.e. http//)

I wanted to know how to do the reverse process of securing and am not finding any thing in the documentation.

I tried to drop the repository and recreate it. But still it shows https, instead of http.

Please could you help.
Re: changing em url https to http [message #430585 is a reply to message #430582] Wed, 11 November 2009 02:13 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
C:\>emctl
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Invalid arguments

Unknown command option
Usage::
   Oracle Enterprise Manager 10g Database Control commands:
       emctl start| stop| status| setpasswd dbconsole
       emctl status dbconsole [-secure]
       emctl secure <options>

       emctl set ssl test|off|on em
       emctl set ldap <host> <port> <user dn> <user pwd> <context dn>
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint  options can be listed by typing "emctl ilint"
emctl deploy  options can be listed by typing "emctl deploy"

C:\>emctl secure
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Secure Agent Usage :
emctl secure agent <registration password> [-passwd_file <abs file loc>]
emctl unsecure agent

Secure OMS Usage :
emctl secure oms -sysman_pwd <sysman password> -reg_pwd <registration password> [-passwd_file <abs file loc>]
        -host <hostname>] [-reset] [-secure_port <secure_port>] [-root_dc <root_dc>] [-root_country <root_country>]
        [-root_state <root_state>] [-root_loc <root_loc>] [-root_org <root_org>]
        [-root_unit <root_unit>] [-root_email <root_email>]
emctl secure setpwd -oms [authpasswd] [newpasswd]
emctl secure sync -oms
emctl secure lock
emctl secure unlock

Secure IASCONSOLE Usage ::
emctl secure em/iasconsole
        [-host <host>] [-root_dc <root_dc>] [-root_country <root_country>]
        [-root_state <root_state>] [-root_loc <root_loc>] [-root_org <root_org>]
        [-root_unit <root_unit>] [-root_email <root_email>]
emctl unsecure em/iasconsole
Secure DBConsole Usage :
emctl secure dbconsole -sysman_pwd <sysman password> -reg_pwd <registration password> [-passwd_file <abs file loc>]
        [-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <secure_port>]
        [-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_state>] [-root_loc <root_loc>]
        [-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email>]
emctl secure setpwd -dbconsole [authpasswd] [newpasswd]
emctl secure sync -dbconsole
emctl unsecure dbconsole
Em Key Commands Usage :
emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman password>]
emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>]
emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>]
emctl status emkey [-sysman_pwd <sysman password>]

Regards
Michel
Re: changing em url https to http [message #430587 is a reply to message #430585] Wed, 11 November 2009 02:18 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
C:\>emctl unsecure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
https://zaffark:5500/em/console/aboutApplication
Invalid arguments

Unknown command option unsecure
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole
emctl secure <options>

emctl set ssl test|off|on em
emctl set ldap <host> <port> <user dn> <user pwd> <context dn>
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint options can be listed by typing "emctl ilint"
emctl deploy options can be listed by typing "emctl deploy"

C:\>
Re: changing em url https to http [message #430593 is a reply to message #430587] Wed, 11 November 2009 02:41 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
C:\>emctl unsecure dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
http://xxxx:1158/em/console/aboutApplication
Configuring DBConsole for HTTP...   Done.
DBConsole is already unsecured.

Sorry, don't know how to do it in 10.2.0.1. I think you have to deconfig and recreate your dbconsole.
Anyway, you should upgrade to 10.2.0.4 (not only for this but the many bugs that are fixed).

Regards
Michel

[Updated on: Wed, 11 November 2009 02:48]

Report message to a moderator

Re: changing em url https to http [message #430601 is a reply to message #430593] Wed, 11 November 2009 03:00 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
Thanks a lot for your assistance.
Re: changing em url https to http [message #430719 is a reply to message #430601] Thu, 12 November 2009 00:28 Go to previous messageGo to next message
yoonus.it@gmail.com
Messages: 109
Registered: June 2007
Location: kuwait
Senior Member
Thanks for the suggestion. I have patched to 10.2.0.4 and now i can unsecure it...
Re: changing em url https to http [message #651406 is a reply to message #430719] Tue, 17 May 2016 08:44 Go to previous messageGo to next message
mpasha06
Messages: 2
Registered: May 2016
Location: Bangalore
Junior Member
Ok, I have faced same issue in OEM13c, below is the description.

Whenever you install OEM it will configure the HTTPS and HTTP both on different ports.
To keep application secure OEM will default configure to HTTPS and lock the console for security reason.

IF you execute below command, you will get OMS details, and HTTP and HTTPS ports, and is console locked or not.

$ emctl status oms -details

Console Server Host : my-oem-host.com
HTTP Console Port : 7788
HTTPS Console Port : 7802
OMS Console is locked.
Console URL : https://my-oem-host.com:7802/em

You can see details as above. you can use the HTTP port but before that you have to unlock the console and restart the OMS service.

$ emctl secure unlock -console
$ emctl stop oms
$ emctl start oms

Now you can load the URL with HTTPS and HTTP too.


Re: changing em url https to http [message #651407 is a reply to message #651406] Tue, 17 May 2016 08:48 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
mpasha06,

Do you think OP has been waiting since 2009 for your response?

Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Re: changing em url https to http [message #651459 is a reply to message #651407] Wed, 18 May 2016 05:12 Go to previous message
mpasha06
Messages: 2
Registered: May 2016
Location: Bangalore
Junior Member
Nope, but it will help if some once trying to lookup. This post comes first when I searched in google.
Previous Topic: Cannot start dbconsole after upgrade from 11.2.0.2 to 11.2.0.4 on windows server 2012 r2
Next Topic: Is there a way to set these HOST related metric settings?
Goto Forum:
  


Current Time: Fri Nov 22 17:51:18 CST 2024