Configure SSL between RDS MySQL DB and JBoss Connection Pool / DMS endpoint |

IT-блоги Configure SSL between RDS MySQL DB and JBoss Connection Pool / DMS endpoint 11 июня 2021 г.


  • Need to enable End to End encryption for connectivity between Apps and RDS DB.
  • This document is to provide the steps that apps can follow to achieve it.

On MYSQL RDS side, enforcing SSL on connection is not supported. The “parameter=require_secure_transport” is not modifiable.

  • If you have enabled Performance Insight (require medium EC2 type at minimum, else the option won’t be available).

  • You can run the select command like below to confirm the user connection is using SSL. The alter command is to force the userid connecting to connect only via SSL.

ALTER USER 'useradmin'@'%' REQUIRE SSL;

SELECT id, user, host, connection_type
       FROM performance_schema.threads pst
       INNER JOIN information_schema.processlist isp
       ON pst.processlist_id =;


Using mysql client, you can test the ssl connection.

mysql -h <hostname> -uuseradmin -pmypasswd --ssl-ca=c:/appls/mysql/rds-ca-2019-root.pem --ssl-mode=VERIFY_CA

where rds ca root pem is from []. Take note that the “ — ssl-ca” and “ — ssl-mode” parameter are optionals.

  • To confirm if the mysql client connection is using SSL or not, check if SSL cipher is not empty.


  • If the user “useradmin” tries to connect without ssl, you will get an error if the admin had configured the user to required SSL to connect.

  • To see which host it is connecting,


  • Example of creating a datasource that will use TLS1.2,




Наш сайт является информационным посредником. Сообщить о нарушении авторских прав.

aws rds dms ssl