Re: is it possible to use and oracle wallet w/ ezconnect?
Date: Thu, 4 Apr 2019 15:07:22 -0400
Message-ID: <CADo_RaOvOprFJ8mSHOAJ9_SwfM8xM5gnPy+VLR--+sywvjQTjg_at_mail.gmail.com>
I couldn't think of any reason why EZConnect wouldn't work so I ran a
quick.
Each credential (TNS entry) needs to be unique.
C:\Users\Andy>sqlplus andy/andypass_at_dbhost:1521/db1.usps.gov
SQL*Plus: Release 12.1.0.1.0 Production on Thu Apr 4 14:59:57 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Last Successful login time: Thu Apr 04 2019 12:08:52 -04:00
Connected to:
SQL> exit
C:\Users\Andy>mkstore -wrl C:/oracle/wallet -createCredential dbhost:1521/
db1.usps.gov andy andypass
Enter wallet password:
Create credential oracle.security.client.connect_string51
C:\Users\Andy>sqlplus _at_/dbhost:1521/db1.usps.gov
SQL*Plus: Release 12.1.0.1.0 Production on Thu Apr 4 15:00:43 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Last Successful login time: Thu Apr 04 2019 14:59:58 -04:00
Connected to:
SQL>
On Thu, Apr 4, 2019 at 2:56 PM Chris Stephens <cstephens16_at_gmail.com> wrote:
> but there doesn't appear to be a way to use the same credential against
Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
Disconnected from Oracle Database 18c Enterprise Edition Release 18.0.0.0.0
- Production
Oracle Secret Store Tool : Version 12.1.0.1
Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
> different host/port/service correct?
>
> On Thu, Apr 4, 2019 at 1:49 PM Chris Stephens <cstephens16_at_gmail.com>
> wrote:
>
>> ah! you can store the connection string AS the credential name and it
>> work w/out tns entry.
>>
>> mkstore -wrl scott_wallet -createCredential
>> \(DESCRIPTION=\(ADDRESS=\(PROTOCOL=tcp\)\(HOST=yourHost\)\(PORT=1521\)\)\(CONNECT_DATA=\(SERVICE_NAME=orcl\)\)\)
>> scott tiger
>>
>> On Thu, Apr 4, 2019 at 1:12 PM Chris Stephens <cstephens16_at_gmail.com>
>> wrote:
>>
>>> we would like to be able to specify host/port/service in the connection
>>> string as w/ easy connect but still use a wallet.
>>>
>>> i don't think that's possible after some googling and documentation
>>> reading but wanted to confirm with others.
>>>
>>> thanks for feedback!
>>>
>>>
>>>
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Apr 04 2019 - 21:07:22 CEST