erlangbureau / jamdb_oracle

Oracle Database driver for Erlang
MIT License
106 stars 48 forks source link

Oracle cloud database #118

Closed raymclee closed 1 year ago

raymclee commented 2 years ago

Hi, Does this library support oracle cloud database?

vstavskyi commented 2 years ago

It works with databases in Amazon RDS.

raymclee commented 2 years ago

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

vstavskyi commented 2 years ago

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.