jamdb_oracle icon indicating copy to clipboard operation
jamdb_oracle copied to clipboard

Oracle cloud database

Open raymclee opened this issue 3 years ago • 3 comments

Hi, Does this library support oracle cloud database?

raymclee avatar Jul 20 '22 20:07 raymclee

It works with databases in Amazon RDS.

vstavskyi avatar Jul 21 '22 05:07 vstavskyi

thanks for replying. could you please point me where should include the wallet from oracle?

raymclee avatar Jul 21 '22 10:07 raymclee

See reply

With PEM certificate (-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----) try parameters: [..... , ssl: [cert_pem: '/path/to/ewallet.pem', verify: :verify_none]]

With certificate and private key (-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----) and password try parameters: [..... , ssl: [certfile: '/path/to/cert.pem', keyfile: '/path/to/key.pem', password: 'PASSWORD', verify: :verify_none]]

But first, you had to patch erlang ssl application and replace beam file.

vstavskyi avatar Jul 21 '22 12:07 vstavskyi