Verifying if https is being used for RDS connections

0

Is there a way to verify connections to a RDS instance - and to check if ssl/https is being used?

Looking to update the certs on the database but would like to verify if there are any clients using https. (I know they should all be but this is very legacy)

feita há 3 meses173 visualizações
1 Resposta
1

Hello,

Your approach should be two-fold. First, find out from your RDS instance settings that if SSL connections are mandatory (The steps are different between the database engines. See references 1 & 2 below). If they are mandatory, then you do not have to go to the next step, because only SSL connections are allowed, so all incoming successful database connections must be using SSL. If SSL connections are not mandatory, and if you still want to know if any clients connect to the database using SSL, then take the next step. Here too, the actual step will vary between the database engines. For instance, to inspect if a connection is using SSL to connect to an Oracle database, you can take a look at the listener logs. For SQL Server, on the other hand, the view sys. dm_exec_connections could be helpful in determining if a connection is secured. In general, also, all database engines allow you to trace client connections, and you can find out from such traces as well.

If you have a particular database engine in mind, specifying it here can help find the particular way(s) that you are looking for.

  1. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
  2. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html

Regards, Govardhanan.

profile pictureAWS
ESPECIALISTA
respondido há 3 meses
profile picture
ESPECIALISTA
avaliado há 3 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas