Why my RDS oracle database accepts irrelevant certificate?

0

Is my RDS data encrypted in transit even though the default certificate changed during snapshot restoration from rds-ca-2019 to rds-ca-rsa4096-g1, and I didn't configure a different certificate on the client side, yet I can still connect to the RDS Oracle database?

質問済み 1ヶ月前111ビュー
2回答
1
承認された回答

I am assuming that you are using oracle 19.7c client or lesser than that. Please upgrade your oracle client to 19.8c or latest client in order to avoid the successful SSL connection with incorrect certificates in the source Oracle client wallet. The connection will be encrypted if you are able to establish the TCPS connection and you can use the below query to validate the connection.

SELECT SYS_CONTEXT('USERENV', 'network_protocol') FROM DUAL;

References:- [+] https://aws.amazon.com/blogs/database/best-practices-for-successful-ssl-connections-to-amazon-rds-for-oracle/

AWS
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
0

Is my RDS data encrypted in transit even though the default certificate changed

Yes your data is still encrypted in transit.

The certificate, whether it's rds-ca-2019 or rds-ca-rsa4096-g1, isn't used to encrypt the data. It's used by the server, in this case the RDS database, to prove its authenticity to the client.

As long as the cert presented by the server is (i) in date; and (ii) signed by a certificate authority that's in the client's bundle; the client will trust it.

Once the client is satisfied that it trusts the server, they then go through a back-and-forth process to agree on a cipher and generate a keypair, one half of which the server uses to encrypt the data, and the other half is used by the client to decrypt.

profile picture
エキスパート
Steve_M
回答済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ