Closed edlman closed 5 months ago
I can tag useSSL as deprecated for in the next release. Thanks for finding this. I'll try to integrate this by Friday and release it with version 5.1.0
@edlman I've merged your changes into this branch https://github.com/conduit-dart/conduit/pull/223 and made some tweaks to the testing. It should be ready for release today. I am looking into some of the serialization code for the api and might be ripping out one of the packages, so that might delay release until tomorrow morning. I'll keep you posted.
This change keeps backward compatibility for
bool useSSL
, butuseSSL
forcesSslMode.verifyFull
which is not always suitable.I've spent few hours to find out why my config value
database.sslMode = require
is not used as expected and connection fails with invalid server certificate. I found that's because all SSL modes are reduced toboo useSSL = true
and this is later used to passSslMode.verifyFull
in PostgreSQL Connection.