WebLogic Management 3-password-free management configuration in production mode

Source: Internet
Author: User

Admin Server password-free configuration >
1. Is there a security/boot.properties file in the admin root directory in production mode

[Email protected] adminserver]$ pwd
/home/weblogic/oracle/middleware/user_projects/domains/base_domain/servers/adminserver
[email protected] adminserver]$ LL
Total 16
DRWXR-----. 3 WebLogic WebLogic 4096 Nov 6 14:45 Cache
DRWXR-----. 5 WebLogic WebLogic 4096 Nov 6 14:46 data
DRWXR-----. 3 WebLogic WebLogic 4096 Nov 6 14:46 logs
DRWXR-----. 4 WebLogic WebLogic 4096 Nov 7 14:29 tmp

2. If not, create the Security/boot.properties file.

[Email protected] adminserver]$ mkdir security
[Email protected] adminserver]$ CD security/
[Email protected] security]$ ls-l
Total 0
[[Email protected] security]$ VI boot.properties--add admin username and password under Boot.properties file

[email protected] security]$ cat boot.properties
Username=weblogic
Password=weblogi.

3. Restart WebLogic to verify that password management is not required.

[Email protected] bin]$ pwd
/home/weblogic/oracle/middleware/user_projects/domains/base_domain/bin
[Email protected] bin]$./startweblogic.sh

4. Check that the password in the Boot.properties file has been successfully encrypted.

[Email protected] security]$ pwd
/home/weblogic/oracle/middleware/user_projects/domains/base_domain/servers/adminserver/security

[email protected] security]$ cat boot.properties

#Fri Nov 16:49:22 EST.
password={aes}o1v2n9pn24po2fmobks5m5+negdzygnoxi5yphlqikq\=
username={aes}tvgztriddgbwh2bjpsov40qqvrpewoaxmh2iyf8ugly\=

___________________________________________________________________________________

Managed server password-free configuration
1. Locate the root directory of the managed server.
[Email protected] server-0]$ pwd
/HOME/WEBLOGIC/ORACLE/MIDDLEWARE/WLSERVER_10.3/COMMON/BIN/SERVERS/SERVER-0--Parameter description Server-0 to managed Server NA Me
2. Create a security/root.properties file
[Email protected] server-0]$ mkdir security
[Email protected] server-0]$ CD security/
[email protected] security]$ Touch boot.properties
3. Add the WebLogic Administrator account and password to the Boot.properties file.
[Email protected] security]$ VI boot.properties
[email protected] security]$ cat boot.properties
Username=weblogic
Password=weblogi.

OK end.

WebLogic Management 3-password-free management configuration in production mode

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.