Replies: 3 comments 2 replies
-
Wallets created for storing certificates and private keys (for authentication with the database server, usually on the cloud) is what is intended, not for storing passwords -- which is what you appear to be doing here! |
Beta Was this translation helpful? Give feedback.
-
Oh, nice, is this supported now? |
Beta Was this translation helpful? Give feedback.
-
Hello @cmarqu, Wallets are archives to store different items. They are used to store certificates - which is used to authenticate the server (or the client). You can extract the certificates into .pem files and use them if you want to set up TLS or mTLS using oracledb Thin mode. The certificates are not "secrets". You just have to make sure you trust the person who issued the certificate. Wallets can also be used to credentials (user names and passwords). These are secret and added using the mkstore utilty. In the example you gave, you created a credential called Sundar Mudupalli |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using RHEL 7 and so far successfully used
cx_Oracle
together with the Client libraries to connect to our on-prem database, using a wallet created viaorapki
/mkstore
.Now I want to use
python-oracledb
in Thin mode to not need the Client libraries anymore, but am failing to create the neededewallet.pem
from my existingewallet.p12
.I am following the instructions in https://python-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#creating-a-pem-file-for-python-oracledb-thin-mode and am using the provided
create_pem.py
script (with some modifications for debugging), but I find that the linereturns
(with a correct wallet password), thus, making the whole script fail with
.
I have also unsuccessfully tried to convert the file using openssl:
Is it possible to create a wallet with tools like
orapki
and/ormkstore
that I can then use withpython-oracledb
?For reference, here is how I created the wallet:
Beta Was this translation helpful? Give feedback.
All reactions