Use and Maintenance of Oraclewallet --- Oracle Login Without Password

Source: Internet
Author: User
Starting from Oracle10gR2, using OracleWallet allows any user to log on to the database without a password (non-operating system authentication ).

Starting from Oracle 10gR2, attackers can use Oracle Wallet to log on to the database without a password (non-operating system authentication ).

Use and Maintenance of Oracle wallet

From Oracle 10gR2, using Oracle Wallet allows any user to log on to the database without a password (non-operating system authentication), which is very useful for logging on to the database using scripts; especially for enterprise security requirements, it is not required that the username and password are stored in the configuration file in plain text, and password maintenance is extremely convenient. For example, if I put wallet in a specified path, when changing the password, you only need to overwrite the wallet, which is especially convenient for a large number of application servers.

Create a wallet on the client

Usage:
E: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ BIN> mkstore -- help
Oracle Secret Store Tool: Version 11.2.0.1.0-Production
Copyright (c) 2004,200 9, Oracle and/or its subsidiaries. All rights reserved.

The Wallet location is not specified.
Mkstore [-wrl] [-create] [-createSSO] [-createLSSO] [-createALO] [-delete] [
-DeleteSSO] [-list] [-createEntry alias secret] [-viewEntry alias] [-modifyEntry
Alias secret] [-deleteEntry alias] [-createCredential connect_string username p
Assword] [-listCredential] [-modifyCredential connect_string username password]
[-DeleteCredential connect_string] [-help] [-nologo]

E: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ BIN>

1. Create a wallet
Syntax: mkstore-wrl -Create

Eg:
E: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ BIN> mkstore-wrl e: \ temp \ wallet-create
Oracle Secret Store Tool: Version 11.2.0.1.0-Production
Copyright (c) 2004,200 9, Oracle and/or its subsidiaries. All rights reserved.

Enter the password :(Enter the wallet password, which must be more complex. Otherwise, the password fails.)

Enter the password again :(Enter the wallet password.)

E: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ BIN>

View the creation of a wallet

E: \ temp \ wallet> dir
The volume in drive E is data
The serial number of the volume is the DCEE-F1D9

E: \ temp \ wallet directory

.
..
3,589 cwallet. sso
3,512 ewallet. p12
2 files in 7,101 bytes
2 directories, 212,962,336,768 available bytes

E: \ temp \ wallet>

2. Create a network connection string for the client to connect to the server. Each connection string corresponds to a database user.
Skate_192.168.1.9 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.9) (PORT = 1521 ))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = skate)
)
)


3. Add User authentication information for database login to wallet

E: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ BIN> mkstore-wrl e: \ temp \ wallet-createCredential skate_192.168.1.9 skate skatepwd
Oracle Secret Store Tool: Version 11.2.0.1.0-Production
Copyright (c) 2004,200 9, Oracle and/or its subsidiaries. All rights reserved.

Enter the Wallet password:

Create credential oracle. security. client. connect_string1

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.