PMM2 with AWS RDS PostgreSQL with rds.force_ssl=0

I have installed PMM2 server in a Docker container on an EC2 instance, and I am trying to connect to an AWS RDS PostgreSQL instance. However, I am encountering problems with the GUI when trying to add the instance, as a pg_hba.conf error appears. After researching a solution, I realized that I need to disable rds.force_ssl = 0. How can I add AWS RDS monitoring in a way that avoids this type of issue? I have configured the policies to also measure the RDS CPU. Could you please help me?