InvalidData - Section End Missing Error on Sea-Orm PostgreSQL

I am trying to connect to postgreSQL using Sea-Orm with a host and PGSSLCERT. However, upon connecting, I get this weird section end missing error.

Notice value show has -----END CERTIFICATE----- {the certificate} -----END CERTIFICATE-----, which is what I suspected to cause the error. However, the environment variable is correct, as it begins with -----BEGIN CERTIFICATE-----
Also, I tried on both Windows and Ubuntu, same error.
Has anyone encountered the same issue, and how to solve.
Thank you.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.