org.postgresql.util.PSQLException SSL error Certificates do not conform to algorithm constraints

Rroot11/30/2022
This happens when I try to connect to my Postgres database with kit/sql (which uses JDBC).
(framework: https://kit-clj.github.io/)
Rroot11/30/2022
b6bf8d4c-a5ba-4492-9cf6-c77e8f5f90be
Rroot11/30/2022
Rroot11/30/2022
Hmm, looks like the server is using an RSA key that's shorter than Java would like.
Rroot11/30/2022
Ah, I fixed it by enabling SHA1 in my system security config.
Rroot11/30/2022
!close