Using node-oracledb to connect to a TLS port.
This is what my customer has to do: 1- get server certificate 2- install Oracle Client -use mkstore/orapki (part of Oracle client) to create a wallet 3- store sever certificate in that wallet. 4- pass the location of the wallet to my application. But I want to eliminate the steps 2 and 3. Is there a way to programmatically create the wallet and store the server certificate?
You can check the below documents to create the self-signed certificates.
Configuring SSL for Client Authentication and Encryption With Self Signed Certificates On Both Ends Using orapki (Doc ID 401251.1)
How To Configure SSL Authentication And Encryption Using Self Signed Certificates In A Multitenant Environment (Doc ID 2099733.1)