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?

demandé il y a un mois111 vues
2 réponses
1
Réponse acceptée

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
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois
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
EXPERT
Steve_M
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions